A man who vandalized a Central Florida mosque by smashing windows and lights with a machete and leaving bacon at the scene pleaded guilty to criminal mischief to a place of worship.

The state attorney's office serving Brevard and Seminole counties said Michael Wolfe was sentenced to 15 years in prison followed by 15 years of probation after he pleaded guilty Tuesday. The sentence had a hate crime enhancement.

The 37-year-old was sentenced as a habitual offender. Titusville police arrested Wolfe in January 2016 after the New Year's Day vandalism. A surveillance video showed him smashing lights, cameras and windows with a machete.

Bacon was left by the front door. Consumption of pork and pork products made from pork is forbidden in Islam.