structural:reformatting, quality:correction, information:highlighting
Charles VII was Prince-Elector of Bavaria from 26 February 1726 and Holy Roman Emperor from 24 January 1742 to his death. He was also King of Bohemia from 1741 to 1743. Charles was a member of the House of Wittelsbach, and his reign as Holy Roman Emperor thus marked the end of three centuries of uninterrupted Habsburg imperial rule, although he was related to the Habsburgs by both blood and marriage. Charles was the eldest son of Maximilian II Emanuel, Elector of Bavaria, and the Polish princess Theresa Kunegunda Sobieska. He became elector following the death of his father in 1726. In 1722, Charles married Archduchess Maria Amalia of Austria, daughter of Holy Roman Emperor Joseph I and niece of Emperor Charles VI. The couple had seven children together. After Charles VI died in 1740, Elector Charles claimed the Archduchy of Austria and briefly gained hold of the Bohemian throne. In 1742, he was elected emperor of the Holy Roman Empire. He ruled until his death three years later.