OAKLAND -- A would-be arms deal on Thursday ended in a standoff and the arrest of a woman and two men -- one of them named in the Fruitvale gang injunction -- just blocks from where two men were killed by police the night before.

Thursday's incident began at 2 p.m. on the corner of Cuthbert and Nicol avenues in the upper Fruitvale District.

Police working on a tip set up a sting in which they offered to buy two high-powered assault weapons from the suspect, Lt. Fred Mestas said.

The man realized he had been set up when 35 officers converged on the scene. He ran back into his apartment in a multiunit complex in the 3000 block of Cuthbert Avenue, Mestas said.

Police evacuated the other units and both sides of the block.

About 35 SWAT members arrived at about 5:30 p.m., and the man surrendered.

Investigators were interviewing him Thursday night.

Police found the AK-47 and a Mac-10 the man was to have sold and were waiting for a warrant at 9 p.m. to search the rest of the apartment. "There could be more," Mestas said.

They also arrested a woman who had a felony warrant out for her arrest and a man who was on parole. He was armed with a knife when police arrived.

Police have raided the building before but not the same unit.

The man who tried to sell the weapons also has an arrest record for assault and narcotics, Mestas said, but this is the first time he has been involved in something as serious as trying to sell high-powered firearms to what he thought were other gang members.

"This is a jump for him," Mestas said. "It's a pretty serious jump."

Neighbors already were shaken from the shooting Wednesday night of two men killed by police during an unspecified operation about five blocks away, on Curran Avenue. The two events are unrelated, police said.

The neighborhood has seen a spike in activity, Mestas said, "so it's good to take weapons off the street."