OAKLAND -- A 25-year-old man found shot Sunday night in the Trestle Glen area will recover from his wounds, police said Monday.

Investigators said the man, whose name was not released, was shot more than a mile away, in the 1400 block of Fifth Avenue. Police believe another person drove him to the 900 block of Grosvenor Place, near Underhills Road, before leaving him there beside a bullet-riddled Acura. That person is being sought.

The wounded man, who police said has addresses in both Oakland and San Leandro, was found about 9:25 p.m.

Police said about 10 minutes earlier, ShotSpotter technology detected gunfire in the area of Fifth Avenue and International Boulevard.

Officer Doug Keely said it appears that is where the shooting took place, but police are still trying to determine why. The person driving the vehicle may have been trying to take the victim to a hospital and got lost before deciding to leave him on the street.

The victim is in critical but stable condition.

In a separate incident, a man shot during an attempted robbery earlier Sunday in East Oakland was also in critical but stable condition Monday.

The victim, a 52-year-old man, was shot about 4:55 p.m. Sunday in the 7700 block of Krause Avenue, not far from Arroyo Viejo Park.

Police said the man was confronted by four people who tried to rob him. But before the suspects stole anything, one of them shot the man. The suspects fled on foot before police arrived.

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