The day after the abdication, the Cortes voted that Spain become a republic but could not agree on what form it should take, some preferred that Spain become a federation while others wanted a unitary republic. The divisions in Spanish society undermined the republic as they had done with the constitutional monarchy. In January, 1874 the Captain General of Madrid, Manuel Pavía, declared his opposition to the federalism, which resulted in the formation of a unitary government without the federalists and monarchists.
With the Cortes disbanded the fate of the nation rested in the hands of the military forces of the various factions. The republican army managed to reverse the territorial gains made by the Carlists before deciding not to oppose Brigadier Martínez Campos when he declared his support for the Bourbon Prince Alfonso, son of Isabella, on 29th December 1874. Having lost control of their armed forces the government of the first republic collapsed, paving the way for the restoration of the Bourbon monarchy.