(WFXR) — Virginia is now the 12th state in the country and the first state in the South to ban “gay and trans panic” as a defense for murder or manslaughter.

The defense allowed people charged with killing LGBTQ people to receive a lesser sentence by placing blame for the homicide on the victim’s sexual orientation or gender identity.

Del. Danica Roem, introduced House Bill 2132, which passed the Senate 23-15 before the House approved the amendment in a 58-39 vote back in February.

Gov. Ralph Northam signed the bill into law last week.

Virginia’s ban is set to go into effect in July.