Authorities say a 43-year-old man has died after being wounded by officers during a gunfight at an upstate New York courthouse. A court officer was wounded.