force under Luigi Gaspare Peyri captured Trento, though they could advance no further. The next month, with troops made available after the Treaty of Schönbrunn, a Bavarian force under Jean-Baptiste Drouet, Comte d'Erlon travelled to end the rebellion. Supported by Franco-Italian forces, a three-pronged attack occupied the region with 45,000 troops by early November. Hofer went into hiding but was betrayed by one of his men in January 1810 and executed by the French. Gottscheer rebellion One of the counties ceded to France was Gottschee (in modern-day Slovenia), which was to form part of the Illyrian Provinces. The ethnic German population, the Gottscheers, led by Johann Erker, rebelled against the French garrison. Rebels were quickly defeated and the French intended to burn down the city of Gottschee. After petitions from local clergy this was not carried out, but the city was looted for a period of three days from 16 October. Black Brunswickers The Duchy of Brunswick had been incorporated in to the French client state of the Kingdom of Westphalia but its duke, Frederick William, sided with the Austrians in 1809. His force of a few thousand volunteer Brunswickers fought alongside Austrian troops under General Kienmayer in Saxony, a French client state led by Frederick Augustus I. They were successful, defeating a corps under the command of Junot at the Battle of Gefrees. After taking the Saxon capital, Dresden, and pushing back an army under the command of Napoleon's brother, Jérôme Bonaparte, the Austrians were effectively in control of all of Saxony. By this time, the main Austrian force had already been defeated at Wagram and the armistice of Znaim had been agreed. The Duke of Brunswick refused to be bound by the armistice and led his corps on a fighting march right across Germany to the mouth of the River Weser, from where they sailed to England and entered British service. Aftermath After the main Austrian force was defeated at Wagram, the nation's forces collapsed, according to historian Charles Esdaile, and Emperor Francis was forced to sue for peace. Englund attributes the end to "diplomatic considerations" and believes that Austria could have continued to fight. The Treaty of Schönbrunn, signed on 14 October 1809, imposed a heavy political toll on the Austrians. Metternich and Charles succeeded in negotiating lighter terms in return for Austrian co-operation and most of the hereditary Habsburg territories were preserved. The lands given to