A man convicted of attempted murder for shooting a Cortland city police officer has received a long prison sentence.

Zachary Clark of Cortland was sentenced to 35 years to life on Thursday.

Clark was found guilty in June of several charges in connection with the March 2020 incident in which officer Chad Knapp was shot three times.

After the sentencing, Cortland County district attorney Patrick Perfetti praised the actions of police officers who had been involved in what turned into an 11-hour standoff with Clark.

Perfetti said the conduct of the officers who first responded to the shooting "was nothing less than heroic."

Clark locked himself inside his Elm Street home after Knapp was shot.

Enter your number to get our free mobile app

Contact WNBF News reporter Bob Joseph: bob@wnbf.com or (607) 772-8400 extension 233.

For breaking news and updates on developing stories, follow @BinghamtonNow on Twitter.

25 True Crime Locations: What Do They Look Like Today?

Below, find out where 25 of the most infamous crimes in history took place — and what the locations are used for today. (If they've been left standing.)

LOOK: Here are the pets banned in each state

Because the regulation of exotic animals is left to states, some organizations, including The Humane Society of the United States, advocate for federal, standardized legislation that would ban owning large cats, bears, primates, and large poisonous snakes as pets.

Read on to see which pets are banned in your home state, as well as across the nation.