The Baden contingent continued to assist France, and by the peace of Vienna in 1809 the grandduke was rewarded with accessions of territory at the expense of the kingdom of Wurttemberg.
In 1815 Baden became a member of the Germanic confederation established by the Act of the 8th of June, annexed to the Final Act of the congress of Vienna of the 9th of June.
The troops of Baden took a conspicuous share in the war of 1870; and it was the grand-duke of Baden, who, in the historic assembly of the German princes at Versailles, was the first to hail the king "of Prussia as German emperor.
Ecclesiastically the territory of the present Baden was divided into six dioceses: Constance, Speyer, Strasburg, Worms, Mainz, and Wurzburg; moreover the Bishops of Bamberg were wealthy landed proprietors Henry II having bestowed on them Crown-lands in the Ortenau, as well as placing the abbeys of Ettenheimmunster, Gengenbach, and Schuttern under their jurisdiction.
By the Peace of Pressburg (1805), and the accession of Baden to the Confederation of the Rhine (1806), Baden was still further enlarged by the former possessions of Austria in the Breisgau, the city of Constance, and other territories, whereby substantially the present boundaries were established.
In Baden, by the order of the Grand duke, the candidate for the archiepiscopal see was elected by free vote of the assembled deans (1822), but their choice of Wanker, a professor of theology in Freiburg, was condemned by the pope as canonically invalid.