Once in Spain, however, Ferdinand was not pleased by the revolution in government that had been undertaken in his name, and by May he had abolished the Spanish Constitution of 1812 and began persecuting and arresting the liberals responsible for its creation.