Karl Mack von Leiberich (1752-1828) was an Austrian soldier. Born in Bavaria, he joined the Austrian cavalry, where he swiftly rose through the ranks during the Turkish War and the French Revolutionary Wars. After Napoleon rose to power Mack was imprisoned by the French army, but he escaped in disguise, returning to the Austrian army to help prepare it for war. By 1805 he was made quartermaster-general under Archduke Ferdinand; he was effectively the power behind the Austrian army. However, despite his talent and experience in the army, he was a troubled, indecisive leader whose actions led in part to the disastrous defeat of the Austrians at the Battle of Ulm (see below).