Spanish revolution was a revolution against King Bourbon Ferdinand VII of Spain. When he had been put into power, he pledged to abide by the Cortes, but once he gained power, he abolished the constitution and ruled alone. Officers, who were about to be sent to the new world from Spain, revolted, and the king agreed to again rule under constitution. Another similar revolt happened in Naples, and the king there agreed also to rule under a constitution. These worried Metternich and the Holy Alliance stepped into Naples and put the King of the Two Sicilies in absolute power again. There was enough support from the alliance to put French troops in Spain to help Ferdinand and they stayed there until 1827. However, the powers used the revolt as a distraction to gain commerce in the Spanish colonies, particularly with Britain, whose new foreign minister, Canning, attempted to break Spain's monopoly on the colonies and take them for Britain.