The Queensland government has moved to abolish the so-called "gay panic" defence for murder following a vote in state parliament.
Previously, defendants facing a murder charge could use the defence to push for a reduction to manslaughter, by claiming the violence was provoked by an unwanted homosexual advance from the victim.
Gay rights campaigners have welcomed the move, but say the "archaic" legal provision should have been scrapped a long time ago.
The push to repeal the defence was spearheaded by Surfers Paradise priest Father Paul Kelly after the fatal 2008 bashing of Wayne Ruks in his former church yard in Maryborough, after which the killers raised the defence at trial.
The defence has previously been struck off the books in every other state, except South Australia.