The eighteenth century was dominated by Prince Wenzel Anton of Kaunitz-Rietberg (1753–1792), who was Chancellor to four Habsburg emperors from Maria Theresa to Francis II, with the titles of both "Hofkanzler" and "Staatskanzler". He was succeeded by Johann Philipp von Cobenzl (1792–1793), who was dismissed by Emperor Francis II over the Partition of Poland and was succeeded by Johann Amadeus Francis de Paula (Baron Thugot) (1793–1800). Thugot's chancellorship did not survive the Austrian defeats by the French at the battles of Marengo and Hohenlinden in 1800 and he was replaced by Johan Ludwig Joseph Cobenzl (1800–1805), his predecessor's cousin, but who in turn was dismissed following the Austrian defeat at Austerlitz in 1805.