A 45-year-old man who fatally shot his friend and told police that God made him do it has pleaded guilty to second-degree murder in Hennepin County District Court, the county attorney's office announced Friday.

Anthony Collins stated that "he was too high on PCP to remember the offense, but agreed that prosecutors had sufficient evidence for a jury to convict him," the county attorney's office said in a news release.

Collins' acknowledgment came in what is called a Norgaard plea, which defendants make when contending that intoxication or amnesia prevents them from recalling what they are alleged to have done.

According to the criminal complaint, Minneapolis police were called to a home in the 1400 block of Morgan Avenue N. about 3:30 p.m. July 4, where they found 38-year-old Christopher Porter, who lived at the residence, lying in the front yard with a gunshot wound to the torso. Porter was taken to a hospital, where he died.

Collins was walking around the yard, "talking about God and killing and finally saying that 'God told me to kill him,' " according to the news release.

The suspected weapon, a .44-caliber handgun, was found in the grass near where Collins was arrested.

Collins would visit Porter regularly because they were longtime friends, the complaint states.

Sentencing is scheduled for March 27. Collins is expected to be sentenced to more than 22 years in prison.