List of free imperial cities
There were 51 free imperial cities in the Holy Roman Empire as of 1792. They are listed here with their official confessional status confirmed by the Peace of Westphalia (1648).
Source: Wikipedia — List of free imperial cities (CC BY-SA 4.0)