ANCHORAGE, Alaska — A man has been arrested on a first-degree murder charge in the weekend shooting of an off-duty police officer after the suspect and victim drank heavily through the night in the community of Napaskiak and got into a fight, according to Alaska State Troopers and local authorities.

Adam Williams was taken into custody Sunday in the killing of Kyle Wassillie, KTVA-TV (http://bit.ly/2vsW1V2 ) reported Tuesday.

Wassillie was shot at a home owned by a relative of Williams but he could not be resuscitated, said state troopers spokeswoman Megan Peters.

“Both the suspect and victim were reportedly intoxicated when the two got into a fight,” Peters said in an email. “The fight ended after the suspect shot the victim with a rifle.”

Williams was taken to the Yukon-Kuskokwim Correctional Center. Court records show he was arraigned Sunday.

Williams was appointed a public defender from the agency’s Bethel office. A message left by The Associated Press with the office seeking comment was not immediately returned.

Investigators interviewed Williams, another man at the home and a 17-year-old who had been drinking with them on the evening of the shooting. All told troopers they didn’t remember anything from the incident, said a criminal complaint written by Trooper Zachary Huckstep. Williams said they drank three bottles of alcohol during an early-morning party and that he was extremely drunk, the complaint said.

A neighbor told investigators he heard a gunshot at about 8:20 a.m., saw a “physical fight” and three people through a window of the home. He could not identify two of them but recognized Williams “because of his build and stature,” the complaint said.

The neighbor “did not know who the man was Adam was pointing the weapon at,” Huckstep wrote.

The complaint added that the neighbor “mimicked the actions he said he watched and told me he watched Adam fire the rifle a second time, then raise the rifle barrel over his left shoulder, and use the stock of the rifle to butt-stroke the man.”

Wassillie was off duty during the shooting, said Nunapitchuk Police Chief Roman Daniel. Wassillie was originally from Nunapitchuk but had worked as a tribal or village police officer there and in various other Yukon-Kuskokwim Delta villages.

Wassillie signed up in June to bolster the four-person Nunapitchuk force while it was short-handed this summer, Daniel said.