A community of monks who lived in that city became custodians of these holy relics.
The sentence describes a group of monks who were entrusted with the care and protection of holy relics in a particular city.