In a social media post early Friday morning, Albany County Sheriff Craig Apple endorsed incumbent District Attorney David Soares in the upcoming Democratic primary.

Saying he's "shocked but disappointed in how personalities and politics is affecting public safety," while also criticizing bail reform in New York, Apple gave his support to Soares in the primary contest against defense attorney Lee Kindlon.

"David has been a champion for hundreds and hundreds of victims while being hard on offenders," Apple wrote. "He has created so many first-of-its-kind alternatives to Incarceration that we in Albany County basically had its own form of bail reform but it kept people safe."

Apple's endorsement bucks a recent trend of public figures endorsing Kindlon; Albany County Executive Dan McCoy gave his support to Soares' challenger earlier this week, while Albany Mayor Kathy Sheehan endorsed Kindlon in late May. Soares has also received endorsements from law enforcement and labor groups.

Soares faces Kindlon in the primary election on June 25. Early voting runs from June 15-23. They recently faced off in an hourlong Spectrum News 1 debate.