McCaffrey received 45 percent of the vote, compared to 36 percent for Schiener and 18 percent for Sessler, according to unofficial results from the Livingston County Board of Elections. He is the first Democrat to be elected district attorney in Livingston County in decades.

McCaffrey, who previously worked as a prosecutor in Monroe County, was appointed to the position by Gov. Andrew Cuomo earlier this ...