The Detroit suburb of Royal Oak is the latest Michigan community to adopt a human rights ordinance that makes it illegal to discriminate based on sexual orientation and a number of other factors.

READ: Evolution of nation's 'first gay president'

The Daily Tribune reports the City Commission passed the measure 6-1. Monday's decision came about 12 years after voters defeated a similar measure.

READ: Obama says same-sex marriage ban should go

The ordinance covers housing, employment and public accommodations. Mayor Jim Ellison says it's "the right time and the right place."

READ: Ex-Bears QB Miller: Religion a barrier for gays in locker room

The ordinance takes effect this month. It make it illegal to discriminate based on 16 factors, including age, height, weight, condition of pregnancy, gender identity and HIV status. Violations will be a civil infraction punishable by a fine up to $500.

READ: Granderson: Rubio missed year of the woman

A number of other Michigan communities have similar protections.