The Battle of Halberstadt took place on 29 and 30 July 1809 at Halberstadt in the Kingdom of Westphalia, during the War of the Fifth Coalition. A Westphalian infantry force attempted to halt the Black Brunswickers under Frederick William, Duke of Brunswick-Wolfenbüttel who were heading for North Sea coast. However, the Brunswickers surprised the Westphalians by a rapid advance and defeated them inside the town.