The elections of 14 October gave the Republicans a majority of 120 seats, and prime minister Broglie accordingly resigned on 19 November. MacMahon attempted first to form a government under General Gaëtan de Rochebouët, but the Chamber refused to cooperate with him. Rochebouët resigned the next day, and the President recalled Dufaure to form a Republican government. On 5 January 1879, elections to the Senate also resulted in a Republican majority, depriving MacMahon of his last parliamentary support. Faced with a decree which revolved around confiscating and diminishing a number of military authorities and commands to certain generals, MacMahon preferred to resign on 30 January 1879.