in 1666, but the marriage was short-lived. Maria Francisca filed for an annulment in 1667 based on the impotence of the king. The church granted her the annulment, and she married Afonso's brother, Peter II, Duke of Beja. Downfall Also in 1667, Peter managed to gain enough support to force Afonso to relinquish control of the government to him, and he became prince regent in 1668. While Pedro never formally usurped the throne, Afonso was king in name only for the rest of his life. (The proceedings which the annulment of Afonso's marriage involved formed the basis of João Mário Grilo's 1989 film, The King's Trial.) For seven years after Peter's coup, Afonso was kept on the island of Terceira in the Azores. His health broken by this captivity, he was eventually permitted to return to the Portuguese mainland, but he remained powerless and kept under guard. At Sintra he died in 1683. The room where he was imprisoned is preserved at Sintra National Palace. Ancestry References Portuguese infantes Dukes of Braganza Modern child monarchs 1643 births 1683 deaths Portuguese people with disabilities Princes of Brazil House of Braganza 17th-century Portuguese monarchs People from Lisbon Royalty and nobility with disabilities Burials at the Monastery of São Vicente de Fora Royal reburials