A man was arrested in connection with a shooting that occurred in an apartment that left a man injured back in October.

Police responded to multiple reports that a shooting had occurred in the area of North Fruit Avenue and West Ashlan Avenue.

When police arrived, they found a 29-year-old man suffering from a gunshot wound, and he was transported to Community Regional Medical Center.

He is reported to be in stable condition.

The victim told police that he was walking with a woman to a place and decided to walk through an apartment complex.

As they passed the complex, a person shouted at them and fired several shots.

However, as police investigated the area, evidence showed that the shooting actually occurred inside the apartment.

Officers received a warrant to search the apartment and spoke to a woman inside the apartment.

The woman told police that the shooting did occur in the apartment.

The woman, along with the victim and several others, was inside when four shots were fired, and everyone evacuated the apartment.

Another witness was able to identify Eric Ramos as the shooter on November 12th, police say.

[RELATED] Man arrested with guns and gear after suspicious activities at Sacramento school

Authorities located Ramos in a home in the area of East Nevada Avenue and North Seventh Street.

However, a stand-off lasted several hours before Ramos exited the home and was taken into custody.

He was arrested and booked for several charges, including several gun-related charges and assault.