He will succeed fellow party member Anne Hidalgo.