After three Minnesota Democrats decided to depart Congress, Tuesday saw crowded primary battles for their open seats — with state Rep. Ilhan Omar continuing her trailblazing ways in a heavily liberal district left vacant by Keith Ellison.

Omar, a Somali immigrant who drew national attention two years ago by becoming the first Somali-American elected to a state Legislature, won the Democratic-Farmer-Labor Party primary by drawing 48 percent of the vote.

“We said our district was ready for a bold vision,” Omar said late Tuesday, while surrounded by supporters who celebrated the victory at Safari Restaurant in Minneapolis. “We said our district was ready for someone who had more courage and clarity to go to Washington.”

Margaret Anderson Kelliher, a two-term Democratic House speaker and 2010 candidate for governor, finished with 30 percent of the vote.

Ellison’s late decision to run for state attorney general created a void, into which stepped a throng of Democratic candidates vying for the 5th District seat, representing Minneapolis and an inner suburban area so blue that the primary win is likely a ticket to Congress. A Republican has not won the district since 1960.

Omar could join Rashida Tlaib of Michigan as the first Muslim women to head to Congress (Ellison was the first Muslim). Last week, Tlaib won a Democratic primary in Michigan’s 13th Congressional District; she will run unopposed in November.

In November, Omar will face Republican-endorsed candidate Jennifer Zielinski, an Allina Health employee who lost a bid for a seat on the Minneapolis Park Board last year. She easily beat her two opponents Tuesday by receiving 56 percent of the vote.

State Sen. Patricia Torres Ray, who made history in 2006 by becoming the first Latino woman to serve in the Minnesota Senate, finished third in Tuesday’s Democratic primary with 13 percent of the votes cast.

Also on the Democratic ballot were Jamal Abdi Abdulahi and state Sen. Bobby Joe Champion, both of whom won 3 percent of the vote, and Frank Nelson Drake (2 percent).

1ST CONGRESSIONAL DISTRICT

Southern Minnesota’s 1st District was deemed up for grabs once Democratic Rep. Tim Walz decided to run for governor.

On the Republican side, Jim Hagedorn, who nearly beat Walz in 2016, easily won the primary by receiving 59 percent of the vote — with 648 of 697 precincts reporting — over state Sen. Carla Nelson’s 33 percent.

In a two-candidate race on the Democrat side, Iraq War veteran and Obama administration official Dan Feehan from Mankato received 83 percent of the vote over Colin “Coke” Minehart, a restaurant owner from Alden, Minn.

2ND CONGRESSIONAL DISTRICT

Democrat Angie Craig and incumbent Republican Jason Lewis will face off in a rematch this November. Neither had a primary opponent.

3RD CONGRESSIONAL DISTRICT

Eyeing five-term incumbent Rep. Erik Paulsen’s seat is Democrat Dean Phillips, a Deephaven entrepreneur and the heir to the Phillips Distilling fortune. Phillips easily beat Cole Young, a 35-year-old self-described millennial, by receiving 82 percent of the vote.

4TH CONGRESSIONAL DISTRICT

Betty McCollum, a nine-term Democrat from St. Paul, won a three-candidate race with 91 percent of the vote. In November, she will face familiar foe Greg Ryan, who ran against McCollum in 2016.

6TH CONGRESSIONAL DISTRICT

Republican Tom Emmer received 76 percent of the vote in a three-candidate race and will try for his third term in November, facing off against Democratic Party-endorsed Ian Todd.

7TH CONGRESSIONAL DISTRICT

After receiving 73 percent of the vote, Republican-endorsed Dave Hughes will run against incumbent Collin Peterson, a 14-term Democrat from Detroit Lakes.

8TH CONGRESSIONAL DISTRICT

Five Democrats in northeastern Minnesota’s 8th District sought to succeed Rep. Rick Nolan, who had planned to retire before he wound up joining Attorney General Lori Swanson’s ticket for governor.

It was former state representative and Nolan campaign manager Joe Radinovich who claimed the victory with 43 percent of the vote. He will face President Donald Trump-endorsed Pete Stauber, who received 90 percent of the vote.