After several years of bloody war, victory finally seemed within the grasp of Frederick, who was strongly supported by his brother Leopold. However, Frederick's army was decisively defeated in the Battle of Mühldorf on 28 September 1322 on the Ampfing Heath, where Frederick and 1300 nobles from Austria and Salzburg were captured.