The standoff began around 12:45 a.m. after officers were called to a home at the intersection of Brighton and Kains avenues in Albany on a report of a person who had fired a gun at two people on the street, police said.
Police said the suspect had allegedly threatened the victims before firing at them.
Officers attempted to contact the suspect, and began a standoff at a home that ended around 8 a.m., according to police.
Police blocked off part of the street around the home during the standoff.
One person has been taken into custody, police spokeswoman Karina Tindol said.
No injuries were reported.