French President Francois Hollande has named a new cabinet under Prime Minister Manual Valls, dropping ministers who rebelledagainst cuts.
The first government of Mr Valls, who was appointed less than five months ago, fell on Monday after a row with Economy Minister Arnaud Montebourg.
Mr Montebourg resigned along with two other ministers from the left.
He will be replaced by Emmanuel Macron while for the first time a woman will be put in charge of education.
Najat Vallaud-Belkacem was minister for women's rights in the last cabinet and will replace Benoit Hamon who also lost his job. Fleur Pellerin has been made minister for culture, replacing Aurelie Filippetti who is also out of the government.
Key ministers in the previous cabinet like Foreign Minister Laurent Fabius, Defence Minister Jean-Yves Le Drian and Finance Minister Michel Sapin retain their posts.
President Hollande said earlier that the new cabinet should "cohere to the directions of the prime minister", who is on the party's right wing.
Mr Montebourg quit after publicly urging the government to end austerity policies and focus on growth.
France is struggling with high unemployment and low growth and Mr Hollande's popularity is the lowest for a president in more than 50 years.
Mr Valls was appointed prime minister on 31 March to revive the fortunes of the ruling party after it took a hammering at local elections.