A man was injured in a shooting in downtown San Jose early Monday morning, according to police.

The shooting happened at about 1:48 a.m. in the area of South First and San Salvador streets, police said.

The victim, who suffered non-life-threatening injuries in the shooting, was found at a local hospital, according to police.

Officers detained a man who they believe was connected to the shooting and recovered a firearm, police said.

An investigation is ongoing.