Kentucky Governor Matt Bevin signed a bill on Tuesday outlawing sex between people and animals.

The anti-bestiality bill signing into law now takes Kentucky off a list of five states where it remained legal.

Wyoming, New Mexico, West Virginia, Hawaii and Washington, D.C. still have no such laws, according to WLWT.

Sex crimes committed against animals are now a Class D felony punishable by up to five years in prison.

The law defines sexual contact as “any act committed between a person and an animal for the purpose of sexual arousal, sexual gratification, abuse or financial gain.”

Offenders will be banned from owning animals, living in a household where animals are present and working/volunteering at a place that allows unsupervised access to animals for at least five years after serving their sentence. They will also be required to receive counseling.

There will be exceptions in the law, including contact which takes place during animal husbandry.

Click here to read Senate Bill 67.