In the late 12th century, with the record of the old deeds, there was an attempt to reorganize the administration (Lorsch codex). Nevertheless, in 1232, Lorsch was awarded to the Archbishopric of Mainz and newly settled by Premonstratensians. Thereafter, Mainz and the Electorate of the Palatinate found themselves at odds over who should hold the "vogt" rights. Of the Carolingian Benedictine abbey, which in parts has been unearthed, the gatehall (from about 800) has been preserved. It is today a UNESCO-protected World Heritage Site.