(CBS DETROIT) – A Royal Oak Township man who was frustrated after being assaulted fired a shotgun in a yard and fled into a residence before being arrested by Michigan State Police.

It happened on Tuesday at 7:30 p.m. when a trooper heard a gunshot near the intersection of Bethlawn and Pasadena streets.

READ MORE: Michigan Congressman: Federal Virus Aid Wasn't For Elected Officials

The trooper saw a 22-year-old man holding a shotgun in the front yard of a home. Police say when the trooper asked the 22-year-old man to drop the shotgun, he initially refused. After the trooper ordered the man numerous times to drop the weapon, police say he eventually dropped the shotgun and then ran into the home.

Troopers then set up a perimeter and attempted to convince the man to surrender. According to MSP, after 45 minutes, the man surrendered and he was taken into police custody. Troopers learned that the man had been the victim of an assault and was firing his gun into the air in frustration.

READ MORE: GM Issues 2nd Bolt Recall; Faulty Batteries Can Cause Fires

Credit: Michigan State Police

They searched the man’s home and located an additional handgun inside and which was also seized.

According to troopers, the man was medically evaluated for injuries he sustained in the earlier assault. He was later transported to a local hospital to receive mental health care and prosecutors are reviewing this case.

MORE NEWS: Michigan Reports 1,295 New COVID-19 Cases, 21 Deaths

© 2021 CBS Broadcasting Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.