Translate the following English sentence to French:
"When he took up his post, Mr Prodi promised to bring this situation to an end."
Lors de son entrée en fonction, M. Prodi avait promis de mettre fin à cette situation.