It was an early experimenter in democracy , electing its first mayor in 1199 , and was long a Protestant bastion in a Catholic country .
For a long time , it was a Protestant stronghold in a predominantly Catholic nation .