The war took a turn for the worse under the Junta's watch. By the beginning of 1810, Spanish forces had suffered serious military reverses—the Battle of Ocaña, the Battle of Alba de Tormes—in which the French not only inflicted large losses, but also took control of southern Spain and forced the government to retreat to Cádiz, the last redoubt available to it on Spanish soil. "(See the Siege of Cádiz.)" In light of this, the Central Junta dissolved itself on 29 January 1810 and set up a five-person Council of Regency of Spain and the Indies, charged with finalizing the convening the Cortes.