October. A year later, on 18 October 1832, he was appointed commander of the Permanent Municipal Guard Corps, a police force in the city of Rio de Janeiro. On 6 January 1833, at age 29, he married Ana Luísa de Loreto Carneiro Viana, the sixteen-year-old younger sister of an army officer friend, and a member of an aristocratic family of Rio de Janeiro. The union was contrary to the wishes of the bride's mother, who saw Luís Alves and his family as upstarts. Newspapers connected to political enemies of his family took advantage of this disagreement to level serious, but unfounded, accusations against him, including that he had kidnapped Ana Luísa. Despite the invective, their marriage was a happy one and three children resulted: Luísa de Loreto Viana de Lima, Ana de Loreto Viana de Lima and Luís Alves de Lima e Silva, born in 1833, 1836 and 1847, respectively. In the late 1830s, Luís Alves was appointed instructor in swordsmanship and horsemanship to the young Pedro II. Ties of duty had drawn the two men together, but a long-lasting friendship and personal devotion also developed. Pedro II said many years later that he regarded Luís Alves as "loyal and my friend". According to historian Heitor Lira, Luís Alves was "one of the rare, sincere and profoundly convicted monarchists and friends of the King [i.e., the Emperor] and of the Dynasty [the House of Braganza]. He placed his sword not only in service to a united and strong Brazil, but also to a worthy and respected Monarch". Quelling rebellions Balaiada As the commander of the Permanent Municipal Guard Corps, Luís Alves brought order to the streets of Rio de Janeiro, through his own skill and through partnership with the city's chief of police, Eusébio de Queirós. Luís Alves was promoted from major to lieutenant colonel on 12 September 1837. Eusébio de Queirós was a member of the Partido Regressista (Reactionary Party), which had come to power that year. Bernardo Pereira de Vasconcelos, one of the leading Reactionaries and a government minister, attempted to attract Luís Alves to his party. After being promoted to colonel on 2 December 1839, Luís Alves was sent by the Reactionary cabinet to the province of Maranhão to quell a rebellion which became known as the Balaiada. He was appointed to the highest civilian and military positions in the province: presidente (president or governor) and comandante