Borrowed from French mairie.
мэ́рия • (mɛ́rija) f inan (genitive мэ́рии, nominative plural мэ́рии, genitive plural мэ́рий)