the Spanish until 1723, when they began to place fortifications on the elevations around Montevideo Bay. On 22 November 1723, Field Marshal Manuel de Freitas da Fonseca of Portugal built the Montevieu fort. A Spanish expedition was sent from Buenos Aires, organized by the Spanish governor of that city, Bruno Mauricio de Zabala. On 22 January 1724, the Spanish forced the Portuguese to abandon the location and started populating the city, initially with six families moving in from Buenos Aires and soon thereafter by families arriving from the Canary Islands who were known as Guanches or Canarians. There was also one significant early Italian resident by the name of Jorge Burgues. A census of the city's inhabitants was performed in 1724 and then a plan was drawn delineating the city and designating it as San Felipe y Santiago de Montevideo, later shortened to Montevideo. The census counted more than 100 families of Galician and Canary Islands origin, more than 1000 indigenous people, mostly Guaraní, as well as some trafficked slaves of Bantu origin. A few years after its foundation, Montevideo became the main city of the region north of the Río de la Plata and east of the Uruguay River, competing with Buenos Aires for dominance in maritime commerce. The importance of Montevideo as the main port of the Viceroyalty of the Río de la Plata brought it in confrontations with the city of Buenos Aires in various occasions, including several times when it was taken over to be used as a base to defend the eastern province of the Viceroyalty from Portuguese incursions. In 1776, Spain made Montevideo its main naval base (Real Apostadero de Marina) for the South Atlantic, with authority over the Argentine coast, Fernando Po, and the Falklands. Until the end of the 18th century, Montevideo remained a fortified area, today known as Ciudad Vieja. 19th century On 3 February 1807, British troops under the command of General Samuel Auchmuty and Admiral Charles Stirling occupied the city during the Battle of Montevideo (1807), but it was recaptured by the Spanish in the same year on 2 September when John Whitelocke was forced to surrender to troops formed by forces of the Banda Oriental—roughly the same area as modern Uruguay—and of Buenos Aires. After this conflict, the governor of Montevideo Francisco Javier de Elío opposed the new viceroy Santiago de Liniers, and created a government Junta when