In 1804, the imperial forces originating from the lands of the new Emperor of Austria, a title created that year, became the Imperial and Royal Army ("Kaiserlich-königliche Armee"), which was defeated by the French at the battles of Ulm and Austerlitz in 1805. In 1806 the victorious French organized much of the former empire into the Confederation of the Rhine, a grouping of client states of the French Empire, with a common federal army.