OAKLAND -- The theft of $200 worth of marijuana prompted two shootings at an East Oakland house Sunday morning that left one man dead, another wounded and prompted a lengthy standoff with police before the suspected gunman was arrested, authorities said Wednesday.

In an unusual occurrence, not only was the suspected killer charged in the case but so was the wounded man and the wounded man's girlfriend, authorities said.

Charged Tuesday with one count of murder and two counts of assault with a firearm was James Shawn, 26, the man whose marijuana was stolen, authorities said. Shawn, who has addresses in Oakland and Hayward, admitted his involvement in the shootings, Officer Christina Land said.

Shawn is charged with killing Cruz Mendoza, 27, wounding Javier Duenas, 20, in the neck, and trying to shoot another man.

Mendoza and Duenas, both of Oakland, were friends and were not involved in the marijuana theft, police said.

Duenas, who was treated and released for his wound, was charged Wednesday with shooting into an occupied dwelling for shooting at Shawn and being a felon in possession of a firearm. He was also charged with violating his probation for a 2012 felon in possession of a firearm conviction.

Duenas' girlfriend, Analicia Guerrero, 21, of Oakland, was charged Tuesday with trying to get rid of Duenas' gun, authorities said.

The shootings happened about 1:20 a.m. Sunday during a house party in the 1400 block of 25th Avenue. Police said Shawn was angry over the marijuana theft, pulled a gun and demanded its returned. He was outside the house when he shot Duenas before running back inside the house. Duenas was able to draw a gun and shoot at Shawn as he ran, police said.

Land said once Shawn was back inside the house he shot Mendoza as he tried to enter the residence. Shawn also shot at another person but missed.

Mendoza was able to get to the front of the house where Duenas and Guerrero were in a car. Duenas drove them to Highland Hospital where Mendoza died and Duenas was treated for his wound and eventually arrested. Guerrero was arrested by Alameda County sheriff's deputies trying to run away with Duenas' gun, police said. She is charged with carrying a concealed weapon.

Police were already at the 25th Avenue house on reports of gunfire. Officers surrounded the house and SWAT team members were summoned about 4:30 a.m. More than a half-dozen people inside the house surrendered and were detained for questioning. Shawn was found hiding in an adjacent yard about 8 a.m. His gun was recovered in the house, police said.