Translate the following English sentence to French:
"It was not by chance that a party that received a larger number of votes was invited to form the government, but that it then passed on to the party with the third largest number of votes."
Ce n'est pas par hasard que le parti le plus important en voix a été invité à former le gouvernement avec le troisième parti le plus important.