Original: Many cities would close their gates after a certain curfew each night, for example Prague.
Simplified: Very often, city gates were closed during the night.