The United Federation of Teachers annnounced Friday it had given its nod to Sen. Adriano Espaillat’s re-election.

Espaillat, a Manhattan Democrat, is facing a stiff primary challenge from former Councilman Robert Jackson, an ally of Rep. Charlie Rangel.

“Adriano Espaillat has been a dedicated advocate for New York City kids and schools, and we are proud to support his reelection,” said UFT President Mike Mulgrew in a statement. “Adriano was a passionate voice in the fight for universal pre-kindergarten funding this year, and worked hard to secure the $300 million investment in our children’s future. He is dedicated to closing the achievement gap in low-income neighborhoods, and is helping ensure all students have the opportunities they deserve to succeed.”

The endorsement is noteworthy, since Jackson was the chairman of the council’s Education Committee and part of the Campaign for Fiscal Equity’s lawsuit.

Espaillat was endorsed several weeks by Gov. Andrew Cuomo, who has strong ties to the UFT’s leadership.