Any person who shall commit the abominable and detestable crime against nature either with mankind or with any animal shall be guilty of a felony, punishable by imprisonment in the state prison not more than 15 years, or if such person was at the time of the said offense a sexually delinquent person, may be punishable by imprisonment in the state prison for an indeterminate term, the minimum of which shall be 1 day and the maximum of which shall be life.
MCL 750.158