ALBANY, N.Y. (AP) — A man was fatally shot by sheriff's deputies after opening fire and wounding two deputies conducting a federal search warrant at a house in upstate New York on Tuesday, authorities said.

One of the two Saratoga County Sheriff's deputies was undergoing emergency leg surgery and the other was treated at a hospital and released, Sheriff Michael Zurlo said. Anthony Zaremski, 23, died at a hospital, he said.

Authorities were conducting the search warrant in connection to a wide-ranging narcotics investigation being conducted by the U.S. Drug Enforcement Administration, Zurlo said. They confiscated multiple kilograms of cocaine, about 50 handguns and rifles, and “hundreds of thousands” of fentanyl pills from three other sites connected to the investigation, he said.

Copyright 2023 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed without permission.