text: Free imperial city Frederick II, ruler of the Holy Roman Empire in the 13th century, realised that his dynasty was losing its power and granted freedoms to many cities to keep their allegiance. These cities became Free imperial cities and Sélestat became one of them in 1217. Under the new status Sélestat was able to build city walls and collect taxes on its own. Its serfs and settlers were freed. The German monarch Adolf of Nassau granted Sélestat a constitution in 1292. It was amended many times but it regulated local politics until 1789. Although the new status favoured trade and prosperity, free cities in Alsace were afraid that they would not be defended by imperial forces if a conflict was to occur. So they decided to form an alliance called the Decapolis in 1354, which comprised ten cities: (Haguenau, Colmar, Wissembourg, Turckheim, Obernai, Kaysersberg, Rosheim, Munster, Sélestat and Mulhouse). The seat of the alliance was in Haguenau but its archives were kept in Sélestat. Because the town was the most centrally located, it often hosted meetings of the association.
  The Benedictine priory was closed in 1424 after many years of decline. It had long lost its power to the local nobility that were gradually replaced by the bourgeoisie in the mid-14th century. Nevertheless, Sélestat remained a religious centre even after the closing of the priory. Convents were established in the 13th century by Dominicans, Knights Hospitaller and Franciscans. Several abbeys located outside of the town also had a residence in town. At the beginning of the 16th century, Sélestat was a noted centre of Renaissance humanism thanks to its celebrated Latin school. Reformers Beatus Rhenanus and Martin Bucer were among the school's alumni. This school helped spread Protestant ideas among the population, although the local authorities remained faithful to Rome. Erasmus of Rotterdam visited Sélestat four times between 1515 and 1522.