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.
Castellans and JewsEdit
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).
- Friar, Stephen (2003). The Sutton Companion to Castles, Sutton Publishing, Stroud, 2003, p. 47. ISBN 978-0-7509-3994-2.
- Pirenne, Henri. "Medieval Cities". Princeton University Press, 1952. p. 73.
- Jordan, Erin L. "Female Founders: Exercising authority in Thirteenth-century Flanders and Hainaut." Church History and Religious Culture, Vol. 88, No. 4, Secular Women in the Documents for Late Medieval Religious Women (2008), pp. 546. Jordan, 559, later says, though, that women holding castellanies may be more prevalent in Flanders and Hainalt than in other parts of Western Europe.
- Karl Bosl, “Ruler and Ruled in the German Empire from the Tenth to the Twelfth Century,” in Lordship and Community in Medieval Europe, ed. Fredric Cheyette, (New York: Holt, Rinehart, and Winston, Inc., 1968): 359=362.
- Fischer, Markus. "Feudal Europe, 800-1300: Communal Discourse and Conflictual Practices." International Organization, Vol. 46, No. 2 (Spring, 1992), pp. 438-9.
- Pirenne, 73, 151.
- Rosenwein, Barbara. "A Short History of the Middle Ages: Volume II, from c.900 to c.1500" University of Toronto Press, 2009. p. 158.
- Benjamin Arnold (1985). German knighthood, 1050-1300. Clarendon Press. p. 137. (also available to subscribers at University of Michigan (Subscription required.) Archived 2016-08-21 at the Wayback Machine)
- Ross, James Bruce. "Rise and Fall of a Twelfth-century Clan: The Erembalds and the Murder of Count Charles of Flanders, 1127-1128." Speculum, Vol. 34, No. 3 (Jul., 1959), p. 368.
- Lipman, Vivian. "Jews and castles in medieval England: Transactions & Miscellanies" Jewish Historical Society of England, Vol. 28 (1981-1982), pp. 1-2
- Enenkel, Arthur (1908) . A new dictionary of the English and Italian languages, containing the whole vocabulary in general use with copious selections of scientific, technical and commercial terms and others lately brought into use with their pronunciation figured. p. 69.
- Fischer, p. 440-2.
- Freed, John B. "Noble Bondsmen: Ministerial Marriages in the Archdiocese of Salzburg, 1100-1343." Cornell University Press, 1995. pp. 39-40>
- "Várnagyok". www.varturak.hu. Archived from the original on 2016-05-13.
- Steven Tibble (1989). Monarchy and Lordship in the Latin Kingdom of Jerusalem, 1099–1291. Clarendon Press.
- Micallef, Antonio (2012). Lectures on the Statutes of the Sacred Order of St. John of Jerusalem: at the University (of Studies) of Malta 1792. KIT Scientific Publishing. pp. 130–134. ISBN 978-3-86644-402-7.
- Feliks Koneczny. Urzędy główne i sejmowanie do połowy XVIII w "Dzieje administracji w Polsce w zarysie" (in Polish).
- "Alcayde". The Shorter Oxford English Dictionary. Oxford UP. 1974.