finally legitimize the de facto takeover by his grandfather in 1689 and 1693. On 27 August 1729, he confirmed Saxe-Lauenburg's existing constitution, laws and the Ritter-und-Landschaft. On 5 April 1757, the Niedersächsische Landschulordnung decreed the compulsory school attendance for all children in Saxe-Lauenburg. George III ascended in 1760 and endorsed all the laws, the constitution and the Ritter-und-Landschaft of Saxe-Lauenburg by a writ issued in St. James' Palace on 21 January 1765. In 1794 George III donated annual rewards for the best teachers in Saxe-Lauenburg. Napoleonic era The duchy was occupied by French troops from 1803 to 1805, after which the French occupational troops left in a campaign against Austria. British, Swedish and Russian Coalition forces would capture Saxe-Lauenburg in autumn 1805 at the beginning of the War of the Third Coalition against France (1805–06). In December, the First French Empire (France's new form of government since 1804) ceded Saxe-Lauenburg, which it no longer held, to the Kingdom of Prussia, which captured it early in 1806. When the Kingdom of Prussia (after it had turned against France as part of the Fourth Coalition) was defeated in the Battle of Jena-Auerstedt (November 11, 1806), France recaptured Saxe-Lauenburg. It remained under French occupation until 1 March 1810, when most of it was annexed to the Kingdom of Westphalia, a French client state. A small area with 15,000 inhabitants remained reserved for Napoléon's purposes. On 1 January 1811, most of the former duchy (except for the Amt Neuhaus and the Marschvogtei, which remained with Westphalia) was annexed to the First French Empire. Post-Napoleon After the Napoleonic Wars, Saxe-Lauenburg was restored as a Hanoverian dominium in 1813. The Congress of Vienna established Saxe-Lauenburg as a member state of the German Confederation. In 1814 the Kingdom of Hanover bartered Saxe-Lauenburg against Prussian East Frisia. On 7 June 1815, after 14 months under its rule, the Prussia granted Saxe-Lauenburg to Sweden, receiving the former Swedish Pomerania in return, however, additionally paying 2.6 million Taler to Denmark, in order to compensate Denmark for the loss of Norway. Denmark gained that ducal territory north of the Elbe, now ruled in personal union by the Danish House of Oldenburg, from Sweden, which thus again compensated Danish claims to Swedish Pomerania. On 6 December 1815 Frederick VI of Denmark issued his Asseveration Act (Versicherungsacte) affirming the given laws, the constitution and the Ritter-und-Landschaft of Saxe-Lauenburg. In 1816, his administration took