A Burgmann (plural: Burgmannen or modern term Burgmänner, Latin: oppidanus, castrensus) was since the 12th century in central Europe a term used to describe knight ministeriales and members of the nobility who were obligated to guard and defend castles. The role is roughly equivalent to the English castellan and the name derives from the German word for castle, Burg.
Whether a Burgmann was a free knight, dienstmann or ministerialis, he was a member of the who was charged by the Burgrave or lord of the castle (the Burgherr) with the so-called Burghut or castle-guard. In other words, his job was to guard the castle and defend it in case of attack. A fief had to be defended from incursion and the supporting farmland had to be run correctly, proper repairs and improvements had to be made, possibly fortifying key points and collecting taxes. Ministeriales replaced free nobles as castellans under Conrad I of Abensberg's tenure as Archbishop of Salzburg from 1106 to 1147. In 1131, Hohensalzburg saw its first ministerialis, Henry of Seekirchen, sit as both burgmann and burgrave, overseeing a permanent garrison of subordinate (free) knights.
Originally the Burgmann was paid in kind for his service although he had to provide his own armour. Later, he was given a so-called Burglehn as a remuneration which, from the late 13th century, was a fixed sum of money. From the 13th century on, the rights and duties of the Burgmann could be found to be governed by a written contract, the Burgmannvertrag. In addition to the place and times that a Burgmann had to be present at the castle, it laid down the necessary armament and equipment. The duty to be present - called residence duty (Residenzpflicht) - required the lord of the castle to provide his Burgmänner with a residence free of charge within the castle or at least in its immediate vicinity. Such residences were referred to as the Burgmann's residence (Burgmannsitz), estate (Burggut) or court/farm Burgmannshof.
Many had judicial powers to govern, as in 1111, when the Salzburg burgmann caught a ministerial who fomented armed rebellion - he had the offender blinded for his temerity.