With Narváez as Prime Minister and a council formed by six ministers, they prepared a reform project that would later be transferred to the Cortes for debate and that led to the Constitution of 1845. The typical political instability of the time soon appeared, with governments of less than 20 days to maximum of 9 months mainly for palace intrigues. With Narváez back in government —his third government— in October 1847, the ephemeral governments ended until 1851. His Council of Ministers carried out important reforms in the Administration and the Treasury, but the most important was to confront and dominate the events of 1848. The revolutions of this year affected Spain in a limited way thanks to the iron hand of the Council, coming to call it a "necessary dictatorship" since the government ruled with the Cortes dissolved and the constitutional guarantees suspended.