The House’s 79-15 vote sent House Bill 279 to the Senate, which voted 32-6 to override the measure.

The one-paragraph bill that stirred strong emotions now will become law in 90 days.

Beshear released a statement saying he was disappointed with the override of the only bill he vetoed in the 2013 legislative session. “As I explained in my veto message, I have significant concerns that this bill will cause serious unintentional consequences that could threaten public safety, health care, and individuals’ civil rights.”

But the Family Foundation claimed the wide vote margins proved that the concerns of Beshear, the American Civil Liberties Union of Kentucky and gay-rights and human-rights groups were unfounded.

“The magnitude of this vote should send a message to these groups that this kind of deception is not appreciated by the majority of the state’s elected lawmakers,” said Martin Cothran, spokesman for the Family Foundation.