On 24 August 1796, during the French Revolutionary Wars, the city and its environs were the locale of a major battle at which 35,000 French, under the command of Jean Baptiste Jourdan fought with 40,000 Austrians under the command of Archduke Charles; the French suffered significantly more losses in this Austrian victory. Amberg was the regional capital of Upper Palatinate until 1810 when power was transferred to the larger city of Regensburg.