Please answer the following question: Extract the answer to the question from the following context. Question: Who allowed communities to have certain privileges that could not be denied? Context: The original Latin word "universitas" refers in general to "a number of persons associated into one body, a society, company, community, guild, corporation, etc." At the time of the emergence of urban town life and medieval guilds, specialised "associations of students and teachers with collective legal rights usually guaranteed by charters issued by princes, prelates, or the towns in which they were located" came to be denominated by this general term. Like other guilds, they were self-regulating and determined the qualifications of their members.
A:
princes, prelates, or the towns in which they were located