A castellan is the title used in Medieval Europe for an appointed official, a governor of a castle and its surrounding territory referred to as the castellany. The title of governor is retained in the English Prison system, as a remnant of the medieval idea of the castellan as head of the local prison. The word stems from the Latin Castellanus, derived from castellum "castle". Sometimes also known as a constable of the castle district, the Constable of the Tower of London is, in fact, a form of castellan, with representative powers in the local or national assembly. A castellan was almost always male, but could occasionally be female, as when, in 1194, Beatrice inherited her father's castellany of Bourbourg upon the death of her brother, Roger. Similarly of Agnes at Harlech Castle upon the death of her husband John de Bonvillars in 1287.
After the fall of the Western Roman Empire, foreign tribes migrated into western Europe, causing strife. The answer to recurrent invasion was to create fortified areas which evolved into castles. Some military leaders gained control of several areas, each with a castle. The problem lay in exerting control and authority in each area when a leader could only be in one place at a time. To overcome this, they appointed castellans as their trusted vassals to manage a castle in exchange for obligations to the landlord, often a noble. In the ninth century, as fortifications improved and kings had difficulty making their subordinates pay their taxes or send the military aid they demanded, castellans grew in power, holding their fiefdoms without much concern for their overlord's demands. This changed as kings grew in power and as the Holy Roman Emperors replaced recalcitrant vassals with rival ministerial appointments.
Usually the duties of a castellan consisted of military responsibility for the castle's garrison, maintaining defences and protecting the castle's lands, combined with the legal administration of local lands and workers including the castle's domestic staff. The responsibility applied even where there was no resident castellan at the castle, or if he was frequently absent. A castellan could exercise the power of the "ban" - that is, to hear court cases and collect fines, taxes from residents, and muster local men for the defence of the area or the realm. There are similarities with a Lord of the Manor. Castellans had the power to administer all local justice, including sentencing and punishments up to and including the death penalty, as when, in 1111, the Salzburg castellan caught the minister fomenting armed rebellion and had the offender blinded, "as one would a serf". Later the castellan came to serve as the representative of the people of his castellany. So happened in the case of the castellan of Bruges, when the burghers stood up for more privileges and liberties from the counts of Flanders.
A particular responsibility in western Europe concerned jurisdiction over the resident Jewish communities bordering the English Channel. The Constable of the Tower of London and those castellans subordinate to the dukes of Normandy were responsible for their administration. Vivian Lipman posits four reasons for this: the castles provided defence, they were centres of administration, their dungeons were used as prisons and castellans could turn to the Jewish community to borrow money as usury was forbidden to Catholics.
A castellany, or castellania, is a term denoting a district administered by a castellan. Castellanies appeared during the Middle Ages and in most current states are now replaced by a more modern type of county subdivision. The word is derived from castle and literally means the extent of land and jurisdiction attached to a given castle.
There are equivalent, often cognate, terms in other languages. Examples of French châtelainies include the castellanies of Ivry-la-Bataille, Nonancourt, Pacy-sur-Eure, Vernon and Gaillon, all in Normandy, which under in the treaty of Issoudun of 1195, after a war with king Richard I of England, were acquired for the French crown by Philip Augustus.
Examples of castellanies in Poland include: czyca and Sieradz (both duchies at one time), Spycimierz, Rozprza, Wolbórz now in the Lodz Voivodeship, and Wojnicz now in the Lesser Poland Voivodeship or Otmuchów in Silesia.
In France, castellans (known in French as châtelains) who governed castellanies without a resident count, acquired considerable powers such that the position became hereditary. By the tenth century, the fragmentation of power had become so widespread that in Mâcon, for instance, where the castellany was the basic unit of governance, there was no effective administrative level above it, so that the counts of Mâcon were largely ignored by their subordinate castellans from about 980 to 1030. In the 12th century châtelains had become "lords" in their own right and were able to expand their territories to include weaker castellanies. Thus the castellan of Beaujeu was able to take over lands in Lyons, or the castellan of Uxelles annexed first Briançon, then Sennecey-le-Grand and finally l'Épervière.
In other areas, castellans did not manage to rise to noble status and remained the local officer of a noble. During the Ancien Régime, castellans were heads of local royal administration, and their power was further delegated to their lieutenants.
All remaining lordships and local royal administrators were suppressed during the French Revolution. During the 19th and 20th centuries, châtelain was used to describe the owner of a castle or manor house, in many cases a figure of authority in his parish, akin to the English squire.
In Germany the castellan was known as a Burgmann, or sometimes Hauptmann ("captain"), who reported to the lord of the castle, or Burgherr, also often known as the burgrave (Burggraf). The burgmann may have been either a free noble or a ministerialis, but either way, he administered the castle as a vassal. A ministerialis, was wholly subordinate to a lord and was under his control. Ministeriales replaced free nobles as castellans of Hohensalzburg under Conrad I of Abensberg's tenure as Archbishop of Salzburg from 1106 to 1147, beginning with Henry of Seekirchen in the 1130s.
In the Medieval Kingdom of Hungary the castellan was called "várnagy", and in the Latin chronicles he appeared as "castellanus". The lord of the castle had very similar functions to those in German lands. In Hungary the King initially designated castellans from among his court for the administration of castles and estates. Later designation of castellans devolved to the most powerful noblemen.
In the Kingdom of Poland and later the Polish-Lithuanian Commonwealth, castellans (Polish: Kasztelan) were the lowest rung of the territorial administration of the country and deferred to voivodes (with the exception of the Burgrave of Kraków (Polish Burgrabia krakowski) who had precedence over the Voivode of Kraków). Castellans were in charge of a subdivision of a voivodeship called the castellany (Polish Kasztelania) until the 15th-century. From then on castellanies, depending on their size, either became provinces, or in the case of smaller domains were replaced by powiats and the castellan role became honorific and was replaced in situ by a Starosta. Castellans in the Polish-Lithuanian Commonwealth were of senatorial rank and were often appointed from the nobility, but not exclusively so.
In Portugal, a castellan was known as an Alcaide. Later, the role of the alcaide became an honorary title awarded by the King of Portugal to certain nobles. As the honorary holder of the office of alcaide did not often live near the castle, a delegate started to be appointed to effectively govern it in his place. An honorary holder of the office became known as alcaide-mor (major alcaide) and the delegate became known as the alcaide pequeno (little alcaide) or the alcaide-menor (minor alcaide).