Napoleon tried to succeed in the Iberian Peninsula as he had done in Italy, in the Netherlands, and in Hesse. However, the exile of the Spanish Royal Family to Bayonne, together with the enthroning of Joseph Bonaparte, turned the Spanish against Napoleon. After the "Dos de Mayo" riots and subsequent reprisals, the Spanish government began an effective guerrilla campaign, under the oversight of local "Juntas". The Iberian Peninsula became a war zone from the Pyrenees to the Straits of Gibraltar and saw the Grande Armée facing the remnants of the Spanish Army, as well as British and Portuguese forces. General Dupont capitulated at Bailén to General Castaños, and Junot at Cintra, Portugal to General Wellesley.