The House of Delegates has passed a bill designed to help prevent discrimination based on gender identity in Maryland.

The House passed the bill 86 to 52 on Saturday. The bill now goes to the Senate.

The measure would apply to people who believe they have been discriminated against because of gender identity when looking for employment, housing or applying for credit. The bill would enable them to bring a complaint to the Maryland Commission on Human Relations.

Delegate Joseline Pena-Melnyk, D-Prince George’s, says the bill makes exceptions for religious institutions. It also requires people to be consistent in their gender identity.

Supporters say discrimination based on gender identity has caused unnecessary suffering. Opponents argued that the bill takes discretion away from employers.

Online: Read House Bill 235

Read the Maryland Politics blog.