A Michigan man is going to prison for 23 months to 10 years for shooting his BB gun at windows for something to do.

According to WWMT, a 44-year-old Coldwater Michigan man by the name of Ricky Dale Cox II, of Quincy, shot up random windows of vehicles and business's with a BB gun all across Branch County.

In court, Cox pleaded no contest to breaking and entering a building and two counts of malicious destruction of property. Police had found 22 locations where windows were shot out from a BB gun.

Cox was sentenced to 23 months to 10 years in prison but was given credit for time served in Branch County Jail.

Cox was already in jail when a tip came in to police about him shooting windows up with a BB gun.

Coldwater Deputy Director of Public Safety, Joe Scheid said, "He never really had no clear decisive motive other than kind of under the influence of drugs and wanted something to do.