A man committed suicide after firing more than 100 bullets into a hunting cabin during a dispute with a friend in western Pennsylvania, according to state police.

The incident occurred at about 2:30 a.m. Saturday along the 200 block of Meyersdale Road in Larimer Township, Somerset County, police said.

Troopers arrived at the scene and learned that Donald Smodic, no age given, of Apollo, Armstrong County, was drinking at the cabin with a friend and left following the dispute, police said.

Smodic placed his belonging into his vehicle, which included "two semi-automatic long guns," police said.

"Smodic then removed the firearms from the vehicle, loaded them, and began shooting into the cabin as (his friend) was still inside," according to a news release.

Police did not provide additional information about the dispute.

Investigators said Smodic fired about 121 rounds into the cabin before leaving the area.

The friend did not sustain any injuries from the gunfire, police said.

Smodic's body was located several hours later with a self-inflicted gunshot wound, in Salem Township, Westmoreland County, police said.