Two top liberal candidates — Zephyr Teachout for attorney general and Councilman Jumaane Williams for lieutenant governor — landed the backing of prominent left-wing activist and US Sen. Bernie Sanders ahead of Thursday’s Democratic primary.

However, Sanders snubbed the top of the challenger ticket, apparently declining to endorse actress and activist Cynthia Nixon, who is challenging two-term incumbent Gov. Andrew Cuomo.

“The progressive movement today is transforming American politics from coast to coast,” Sanders claimed in the endorsement. “While we need to elect all the progressives running, I would like to offer specific endorsements to two candidates I have known for many years, who are leaders of the progressive movement in New York and who stood with us in 2016: Jumaane Wililams for lieutenant governor and Zephyr Teachout for attorney general,” Sanders said.

Williams is challenging incumbent Kathy Hochul, a former Buffalo-area congresswoman, for lieutenant governor in the Sept. 13 Democratic primary.

Meanwhile, Teachout is locked in a three-way battle against Public Advocate Letitia James, who is backed by Cuomo, and big-spending Congressman Sean Patrick Maloney for the AG nomination.

Sanders’ apparent decision to stay out of the nasty battle for the top of the ticket comes after Cuomo waged a months-long effort to woo the socialist iconoclast.

The two began to make nice at the Democratic convention in Philadelphia after Sanders lost a bitter primary fight against former Sen. and Secretary of State Hillary Clinton, whom Cuomo supported.

That campaign extended to a private September 2016 meeting, of which a top Cuomo aide posted pictures; and a joint appearance by the two men as Cuomo rolled out his Excelsior scholarship initiative in January 2017, which was modeled after Sanders’ plan to provide free tuition to public college students..