The independence movement for Venezuela began with the establishment of the Caracas Junta in 1810. After the Venezuelan Declaration of Independence in 1811, the provinces of Caracas, Cumaná, Barinas, Margarita, and the newly separated ones of Barcelona, Trujillo, and Mérida established a Republic of Venezuela, which claimed the area of the Captaincy General. The provinces of Maracaibo and Guayana, along with the city of Coro, rejected the republic, and after a year of war against the royalists, this First Republic collapsed. The provinces that had created the Venezuelan Republic were reconquered by Frigate Captain Domingo de Monteverde, who usurped power from the appointed Captain General Fernando Miyares. Because of this the Cortes of Cádiz erected the Province of Maracaibo into a separate Captaincy General with Miyares at its head, but did ratify Monteverde as Captain General of the smaller Venezuela. During this period, the Province of Maracaibo elected a representative to the Cortes, José Domingo Rus, who served from March 3, 1812, to May 10, 1814, and continued to represent the province before the crown after Ferdinand VII abolished the Cortes. With Ferdinand VII's return, Venezuela was reunited in one captaincy general.