A 22-year-old man is facing attempted murder charges for shooting arrows at a trio of vagrants in California, police said.

Addae Preciado — who authorities say is also homeless, and originally from Albany — was taken into custody Tuesday at a train station in El Cerrito after Saturday’s early morning attack in Richmond that investigators believe was targeted, East Bay Regional Park District police announced.

Two men and a woman were fired upon as they were staying in a homeless encampment near the San Francisco Bay Trail. Both of the men were struck by the arrows in the abdomen, while one was also hit in the leg. The woman was not struck, police said.

The victims were taken to a hospital, where they underwent surgery and were listed in stable condition Tuesday, police said.

Investigators recovered the weapon they believe was used in the attack — a gold-colored compound bow commonly used for hunting and target practice.

Preciado, who is facing two counts of attempted murder, is set to be arraigned Thursday. He’s being held without bail at the Alameda County Santa Rita Jail, online records show. It’s unclear if he’s hired an attorney.