Governor of Montevideo

The office of Governor of Montevideo was created shortly after the Treaty of Madrid in 1750 by Ferdinand VI of Spain, with the objective of establishing more effective control of the "Banda Oriental" (left bank) area of the Río de la Plata, present day Uruguay. 
The "Banda Oriental" had been awarded to Spain as a term of the Treaty of Madrid. It was within the Viceroyalty of Peru (1750−1776), the Viceroyalty of the Río de la Plata (colonial Argentina region, 1776−1814), the United Provinces of the Río de la Plata (.
History.
The constant threat of the Portuguese Empire expanding from Colonial Brazil westward into the region was virtually impossible to deter, due to the lack of permanent Spanish settlement along the frontier. This, coupled with the possibility of attacks by the indigenous peoples defending their homelands and perhaps motivated by the Portuguese, convinced the Spanish Crown to establish this new jurisdiction in the recently founded city of Montevideo.
Despite the fact that Montevideo was in those days a small village of minor significance, military considerations took precedence. The city's importance was soon elevated by its regional strategic value. 
At its creation, the jurisdiction's direct control did not extend beyond (two days on a horse). This zone was, in fact, the only area brought under effective royal control in the "Banda Oriental".
Viceroyalty of the Río de la Plata governors.
The governors of Montevideo between 1751 and 1814 were:
On February 3, 1807, British forces occupied Montevideo, deposing and taking prisoner Governor Ruiz Huidobro. The British held the city until September 9, 1807, when it was recaptured by Spain. The office of Governor was subsequently reestablished:
United Provinces of the Río de la Plata governors.
On June 23, 1814, Argentine and Uruguayan troops under the command of Carlos María de Alvear entered Montevideo, ending Spanish colonial control of the city. The Supreme Directorate of the United Provinces of the Río de la Plata, the revolutionary government of the Río de la Plata, maintained the office of governor of Montevideo, designating its successors:
On February 25, 1815, Argentine troops abandoned Montevideo to the forces of José Gervasio Artigas, who designated two "delegate" governors during his rule of Uruguay. These were the last two officials to hold the title:
The office came to an end with the second Portuguese invasion of Uruguay in July 1816.