Armed insurrection broke out in Andalusia, prepared by revolutionary juntas composed by democrats and progressives, which acted in favour of a military conspiracy. In September 1868, after proclaiming the slogan "España con honra" (Spain with honour), Prim disembarked in Cádiz. On 28 September he won the battle of Alcolea, and the support of Barcelona and the Mediterranean coast, which was decisive for the victory of the revolution. The queen left the country in September 30 and a provisional government was set up under General Francisco Serrano.