On 31 December 1809, a decree of King Maximilian of Bavaria granted the city a new coat of arms, as a recognition of their (mainly humanitarian and logistic) services in the Battle of Abensberg the same year. The diagonally divided field in silver and black came from the old crest of the Counts of Abensberg, while the white and blue diamonds came from that of the House of Wittelsbach, the rulers of Bavaria. The swords recall the Battle of Abensberg.