A Rangeley man has been sentenced to nearly four years in prison on a firearm charge in U.S. District Court in Bangor.

Frank J. McConnell, III, 23, also known as Frank Thompson, was sentenced Wednesday to 46 months in prison, three years of supervised release and a $500 fine for being a felon in possession of a firearm, according to a press release from the U.S. District Attorney’s Office.

McConnell pleaded guilty to the charge Nov. 13.

The press release states that on July 13, police responded to a complaint that an intoxicated man was shooting a gun at his Dallas Plantation home.

When the officers arrived, McConnell was standing outside the home firing a handgun toward the woods. The defendant was intoxicated and prohibited from possessing firearms because of prior felony convictions for domestic violence assault and a bail violation, according to the press release.

The investigation was conducted by the Bureau of Alcohol, Tobacco, Firearms and Explosives, the Rangeley Police Department, the Franklin County Sheriff’s Office, the Maine State Police and the U.S. Border Patrol.