Democratic candidate for governor Cynthia Nixon on Monday endorsed Alexandria Ocasio-Cortez, the woman challenging Rep. Joe Crowley in Tuesday’s Democratic primary.

Ocasio-Cortez, meanwhile, also endorsed Nixon’s bid for the Democratic gubernatorial nomination against incumbent Andrew Cuomo ahead of her September primary.

Both women say they have one thing in common: First-time candidates who are challenging men in power.

“I am proud to endorse Alexandria Ocasio-Cortez for Congress,” Nixon said in a statement.

“She represents the future of the Democratic Party. Alexandria and I are joining together to take on the old boys club, rejecting corporate money, and run people-powered campaigns that envision a progressive New York that serves the many, not just the few who can afford to buy influence. Like thousands of other women across the country who are running for office for the first time this year, we looked at who is in charge and the job they were doing and realized that if we want things to finally change, we’re going to have to step up and do it ourselves.”

At the same time, both candidates have rejected contributions from corporations, want to abolish the Immigration and Customs Enforcement agency and want to see a single-payer health care system adopted.

“Movements are built when communities come together. For too long, New York machine politics has drifted away from the communities they were originally supposed to serve,” Ocasio-Cortez said.

“Today I am honored to join fellow fighter Cynthia Nixon in the advancement of dignified healthcare, housing, and education for all, in one concerted movement for a New York for the many. Cynthia and I both have roots in educational work, and her nonstop fight for working families resonates with me deeply. Together, it is my hope that Cynthia and I can propose the notion that New York’s elections don’t have to be foregone conclusions – they can be earned opportunities for change.”