(13WHAM)Ontario County, N.Y. -- A third suspect wanted in connection with a shooting in Geneva on Sunday has been captured.

Jonathan Rivera was taken into custody in New York City Tuesday night and brought back to Ontario County early Wednesday morning.

Rivera and three other men were the subjects of a massive manhunt Sunday and Monday. They had been in a car tied to a shooting in Geneva that was eventually found in Phelps. Two of those men were arrested in the hours following the incident. Police continue to search for the fourth suspect, 22-year-old Andres Escalera of Geneva.