Luís do Rego, 1st Viscount of Geraz do Lima

D. Luís do Rego Barreto, 1st Viscount of Geraz do Lima (28 October 1777 – 7 September 1840), better known as General Luís do Rego, was a Portuguese nobleman, military officer and colonial administrator who distinguished himself in the fight against the Invasion of Portugal by the French in 1807, and was Governor of Pernambuco from 1817 to 1821, when he was deposed.

Natural son of António do Rego Barreto, army officer, adjutant of the 2nd Count of Bobadela when he was governor das armas of Minho, was legitimized by his father in 1786, enlisted in 1790 at age 13, at the Infantry Regiment of Lippe, the Lisbon garrison, being lieutenant when the French invaded Portugal in 1807.

Their performance in the Siege of San Sebastián was critical, able to cross the gulf separating the allied army from the fortress with his regiment and scaled the walls, managing to take it in September 1813.

With the Vilafrancada reimposing the absolutist regime in Portugal, he was removed from office and deported to Figueira da Foz, and retired in the following year.

The setembrista government of Maria II awarded him the title of Viscount of Geraz do Lima on 27 April 1835. http://www.arqnet.pt/exercito/regobarreto.html (translated)