Translate the following English sentence to French:
"This was underlined by a painful defeat in the parliamentary elections only a few months ago."
Leur cuisante défaite aux élections législatives d'il y a quelques mois mettent bien ces faits en évidence.