The Buffalo Police SWAT team was executing a search warrant at an address in Niagara Street on the city's West Side on Monday morning when, according to police and prosecutors, a man jumped out a window and then opened fire at a police officer.
The officer returned fire.
Neither was hit and, after a brief foot chase, the man who allegedly shot at the police officer was taken into custody, prosecutors said.
The suspect, identified as Pablo Alicea, 19, of Niagara Street, has been charged with attempted first-degree murder of a police officer.
Pablo Alicea, 39, believed to be the father, and a third Buffalo man were also arrested.
The 19-year-old Alicea was also charged with criminal possession of a loaded firearm and criminal possession of narcotics. He was arraigned Tuesday morning before State Supreme Court Justice M. William Boller, who was acting as a city court judge for the proceeding. The suspect was remanded to jail without bail.
The 39-year-old Alicea was charged with third-degree criminal possession of a controlled substance. He was arraigned and released to the supervision of probation.
Cesarae Thomas, 40, was also arraigned on one count of criminal possession of a weapon for allegedly having a loaded, illegal gun at the time of his arrest. He was held without bail.
Police allegedly recovered a "quantity of heroin" from the home on Niagara Street, prosecutors said.
The elder Alicea was falsely accused of a kidnapping in 2018, according to Erie County District Attorney John Flynn.