An enormous upset of a leading House Democrat in New York headlined a slate of seven states' primary elections on Tuesday. Alexandria Ocasio-Cortez, a 28-year-old activist endorsed by the Democratic Socialists of America, took out 10-term Democratic Rep. Joe Crowley in New York's 14th District. Her triumph over Crowley — the fourth-ranking House Democrat — has potentially massive implications for the party and its leadership. Outside of the New York City district, other races significant to November's battle for Congress and governor's offices took place. Two candidates who President Donald Trump backed prevailed. In addition, voters set the stage for several battleground congressional races throughout the country. Here are some of the notable results:

Trump's choices win

Rep. Dan Donovan, R-N.Y. Bill Clark | CQ Roll Call | Getty Images

Battleground House races take shape

Voters set nominees for several battleground races that will help to determine control of the House. Republicans aim to stop Democrats from flipping 23 GOP-held seats and taking the chamber. In New York's 19th District, Democratic lawyer Antonio Delgado won his primary and will take on incumbent Republican Rep. John Faso. Nonpartisan election analysts consider the race a toss-up.

Democratic education advocate Anthony Brindisi ran uncontested in New York's 22nd District. He will face GOP Rep. Claudia Tenney in another race considered a toss-up.

Republican Rep. Mike Coffman will face Democratic Army veteran Jason Crow in Colorado's 6th District. Nonpartisan handicappers also list that race as a toss-up.

GOP Rep. Mia Love will face a challenge from Democratic Salt Lake City Mayor Ben McAdams in Utah's 4th District. The race is expected to be competitive, but Love starts as a favorite.

Democratic Army veteran Max Rose will take on Donovan in the New York's 11th District. The race appears to favor the Republican representative at the outset.

Romney advances in Utah Senate race

Former GOP presidential nominee and occasional Trump critic Mitt Romney overwhelmingly won the Republican Senate primary in Utah. He will face Salt Lake County Councilwoman Jenny Wilson and enters the general election as a heavy favorite. In a tweet, Trump congratulated Romney for a "big and conclusive win" and said he looks forward to working with him if he joins the Senate. The kind words mark a shift for the president, who responded harshly to Romney's criticism of him during the 2016 presidential election. Romney has tried to balance occasional criticism of Trump with praise for some of the president's policies, such as the GOP tax law that passed in December.

Jealous wins Maryland gubernatorial primary

Ben Jealous wins the Democratic primary for Maryland Governor and addresses the crowd gathered at the Reginald F. Lewis Museum of Maryland African-American History & Culture June 26, 2018 in Baltimore, MD. Katherine Frey | The Washington Post | Getty Images

Another candidate who cast himself as a progressive, former NAACP President Ben Jealous, won a notable Democratic primary Tuesday night. Jealous will face off against Republican Maryland Gov. Larry Hogan. The Democratic candidate has supported positions such as Medicare for all, criminal justice reform and tuition free college. Hogan won the blue-leaning state by about 5 percentage points in 2014.

WATCH: The future of the democratic party after Ocasio-Cortez's surprise win