Marvejols was, in the Middle Ages and the early modern period, a royal town closely linked to the power of the King of France. In 1680, its consuls, royal officers responsible for administering justice in Gévaudan and the Upper Cévennes, needed to find a safe and convenient building. They acquired a property located on Rue Droite (now Avenue Savorgnan de Brazza) which served as a consular hall, the Estates Hall, a courtroom, and a prison. This imposing building, remodeled many times, where various administrative, judicial, and penitentiary activities were concentrated, and which was therefore at the heart of Marvejols' municipal life, is today the Town Hall.