The German town law or German municipal concerns was a set of early town privileges based on the Magdeburg rights developed by Otto I. The Magdeburg law became the inspiration for regional town charters not only in Germany, but also in Central and Eastern Europe who modified it during the Middle Ages. The German town law was used in the founding of many German cities, towns, and villages beginning in the 13th century.