Dom Afonso VI, known as "the Victorious", was the second king of Portugal of the House of Braganza from 1656 until his death. He was initially under the regency of his mother, Luisa de Guzmán, until 1662, when he removed her to a convent and took power with the help of his favourite, D. Luís de Vasconcelos e Sousa, 3rd Count of Castelo Melhor.