A homeowner in Oakland, California, exchanged gunfire with a man who broke into his house, leaving both men wounded. The robber, armed with a rifle, entered the house and stole a cell phone. The homeowner grabbed his pistol, and the two shot each other. The suspect later fled and got away. Here’s the story:

OAKLAND — A 56-year-old East Oakland homeowner and a man trying to rob him Wednesday night inside the residence were both wounded in an exchange of gunfire, police said.

Both will recover from their wounds and the suspected robber, a 23-year-old Oakland man, was arrested, police said. Their names were not released because the investigation is continuing, police said.

The violent confrontation happened about 10:50 p.m. Wednesday at the home in the 3100 block of Eastman Avenue near Brookdale Park.

Police said the suspect, armed with a rifle, forced his way inside the home where he took a cell phone before confronting the resident, who was able to get a pistol.

In an exchange of gunfire, the resident was wounded in the shoulder and the suspect in the torso, police said.

The suspect fled and was able to get to a hospital on his own where he was arrested on suspicion of home invasion robbery and assault with a firearm. The resident was transported via ambulance to a hospital.

In an earlier drive-by shooting that happened about 8:40 p.m. in the 10100 block of Foothill Boulevard, a man was wounded multiple times and was taken to a hospital in guarded condition.

The suspect escaped in the vehicle. A motive is not yet known.

Police and Crime Stoppers of Oakland are offering up to $5,000 in reward money for information leading to the arrest of the suspect in the Foothill shooting. Anyone with information may call police at 510-238-3821 or a tip line at 510-773-2805.