Margrave was originally the
medieval title for the military commander assigned to maintain the defense of one of the border provinces of the
Holy Roman Empire or of a
kingdom. That position became hereditary in certain feudal families in the Empire, and the title came to be borne by rulers of some
Imperial principalities until the abolition of the Empire in 1806 (e.g.,
Margrave of Brandenburg,
Margrave of Baden). Thereafter, those domains were absorbed in larger realms or the titleholders adopted titles indicative of full sovereignty. A Margrave finds a direct analogy with the title of
Exarch in the late Roman, early
Eastern Roman Empire era i.e. the military commander and governor of a region at the brink of the controlled territories.