Under the Rheinschifffahrtsakte (Rhine navigation treaty) of 1831, Mainz lost its right to impose a stapelrecht (pile right, a medieval right apparently first granted by Charlemagne to some cities, including Mainz, to require river traders to unload goods in its marketplace for a specified number of days and offer them for sale or make payment in lieu) and thus its trading port and its high tariff