Two Democratic Party activists in Greenwich Village are mounting a last-minute campaign to elect “Sex and the City” actress-activist Cynthia Nixon — to the state Assembly.

Nixon was the Working Families Party candidate for governor. But with Gov. Cuomo trouncing her in the Democratic Party last month, the party and Nixon didn’t want to play spoiler by potentially siphoning votes from Cuomo. Instead, the WFP maneuvered to get Nixon off its ballot line and swapped in Cuomo’s name.

But it’s not so simple under New York election law — to get off the ballot, Nixon had to run for another office or move out of state.

So the WFP put Nixon on its line for the 66th Assembly District in Greenwich Village, where she resides. That puts her up against veteran progressive Democratic incumbent Deborah Glick.

Nixon said she will not actively campaign, has no interest in serving in the Assembly and backs Glick. But just having Nixon’s name on the WFP ballot line is a potential threat.

Village Democratic District leader Arthur Schwartz and Rise and Resist activist Jim Fouratt said they will urge voters to back Nixon over Glick on the WFP ballot line in the Nov. 6 general election.

They claim trailblazer Glick is no longer effective after 27 years in office.

Fouratt said the Assembly would be a good starting point for Nixon after losing her long-shot bid for governor.

Glick was unfazed about her critics’ support of Nixon.

“No surprise. They’ve run against me in the past,” the assemblywoman said in a text statement.

She defeated Fouratt in the 2016 Democratic primary.