Isabel II's weak reign led to her exile in 1868. After several interim rulers, Amadeo I of Italy became king in 1870 but was unpopular due to Spain's political and economic turmoil. He abdicated in 1873, leading to the establishment of Spain's short-lived First Republic which lasted just 11 months with four presidents. General Martínez Campos then restored the monarchy under King Alfonso XII in 1874.