Edited sentence: Archduke Leopold Joseph of Austria (October 29, 1700 - August 4, 1701).During the whole of his reign, Hungary was disturbed by the conflict with Francis Rákóczi II, who eventually took refuge in the Ottoman Empire.He began the attempts to settle the question of the Austrian inheritance by a pragmatic sanction, which was continued by his brother Charles VI.He had a taste for art and music, which was almost hereditary in his family and was an active hunter.He joined the imperial general, Louis William, Margrave of Baden-Baden, in the siege of Landau.He reversed many of the pedantically authoritative measures of his father, thus placating all opponents who could be pacified and he fought stoutly for what he believed to be his rights.He succeeded his father as emperor in 1705.In 1699, he married Wilhelmina Amalia of Brunswick, daughter of John Frederick, Duke of Brunswick-Lüneburg.In 1702, at the outbreak of the War of the Spanish Succession, he saw his only military service.It is said that when he was advised not to go into a place of danger, he replied that those who were afraid might retire.It was his good fortune to govern the Austrian dominions and to be head of the Empire, during the years in which his trusted general, Prince Eugene of Savoy, either acting alone in Italy or with the Duke of Marlborough in Germany and Flanders, was beating the armies of Louis XIV of France.Joseph died in Vienna of smallpox.Joseph showed himself very independent towards the pope and hostile to the Jesuits, by whom his father had been much influenced.Joseph's descendants include: Louis XVI of France, Charles IV of Spain, Maria Josepha of Bavaria, who married Emperor Joseph II, and several Kings of Poland.Maria Amalia of Austria (October 22, 1701 - December 11, 1756).Maria Josepha of Austria (December 8, 1699 - November 17, 1757).Married August III the Saxon.Married Charles VII, Holy Roman Emperor.The emperor did not himself take the field against the rebels, but he is entitled to a large share of the credit for the restoration of his authority.They had three children: