Maryland will send two new lawmakers to the House of Representatives for the first time in more than a decade.
Democrat Anthony G. Brown of Prince George's County, who served as former Gov. Martin O'Malley's lieutenant governor from 2007 until last year, was elected Tuesday to represent the state's 4th Congressional District — winning a measure of political redemption after his upset loss in the gubernatorial election two years ago to Republican Larry Hogan.
In the neighboring 8th Congressional District, voters selected Democratic state Sen. Jamie Raskin of Montgomery County, an American University law professor and cancer survivor who has championed progressive causes in Annapolis since winning his first election in 2006.
Raskin promised to "fight for massive reinvestment in our nation's ailing infrastructure," including Washington's Metro system. He said he wants to work on the legislative priorities he pursued in Annapolis, including criminal justice reform and gun control.
Brown recalled lessons his late father, a Jamican immigrant and doctor, taught him about recovering from defeat.
"If you believe in what you do, you get up and you get back to it," Brown said. "I'm grateful the voters understand you've got to get up, and I'm grateful the voters gave me the opportunity to get back to it."
Raskin will succeed Rep. Chris Van Hollen, who won election to the Senate on Tuesday. Brown will succeed Rep. Donna Edwards, who lost to Van Hollen in the Democratic Senate primary in April.
The loss of Edwards and the retirement of Sen. Barbara A. Mikulski mean Maryland will send an all-male delegation to Congress next year for the first time since 1971.
Eight House seats were on the ballot in Maryland Tuesday. The state's incumbents — five Democrats and one Republican — were set to easily win re-election. That included Democratic Rep. John Delaney, who appeared to fend off a spirited and well-funded challenge in the 6th District from Republican Amie Hoeber.
Democratic Reps. Elijah E. Cummings of Baltimore, C.A. Dutch Ruppersberger of Baltimore County, John Sarbanes of Baltimore County and Steny Hoyer of Southern Maryland and Republican Rep. Andy Harris of Baltimore County all won re-election.
Brown and Raskin will enter a House in January that has been paralyzed for years by partisanship, barely able to approve fundamental legislation to keep the federal government open. Republicans were expected to hold their majority in the House, leaving the state's new lawmakers in the minority.
Maryland's congressional delegation has remained relatively stable in recent years. The last time the state sent two new lawmakers to Washington in a single year was in 2003, when Ruppersberger and Chris Van Hollen of Montgomery County captured newly drawn districts that had been held by Republicans.
The all-male delegation will be uncomfortable for state Democrats. Several Republicans this year criticized Maryland's Democratic establishment for the lack of diversity in a state that is home to Mikulski, the longest-serving woman in Congress.
The 4th District is based in Prince George's County but includes portions of Anne Arundel County. Most 8th District voters live in Montgomery County, but the district reaches into Frederick and Carroll counties. Both districts were drawn by Democrats in Annapolis to favor their party's candidates.
Perhaps the most competitive House race in the state recently has been the 6th District, which is based in Montgomery County — a Democratic stronghold — and sprawls north into the Republican territory of Western Maryland.
Delaney won re-election in 2014 by less than 2 points.
Republicans, sensing vulnerability, recruited Hoeber, a deputy undersecretary of the Army during the Reagan administration, who ran an aggressive campaign focused in part on Delaney's support for President Barack Obama's controversial Iran nuclear deal.
A super PAC funded by Hoeber's husband invested more than $3 million in advertising on her behalf.
Delaney, a former banker who lives less than a mile from Hoeber in Potomac, also invested heavily in his own candidacy, though he appears to have spent less this year.
He was aided Tuesday by the larger turnout in a presidential election year and the unpopularity of Republican presidential nominee Donald Trump in Maryland.
Delaney is widely considered to be a potential candidate for governor in 2018. He antagonized Hogan in March by hiring a mobile billboard to circle the State House challenging him to take a position on the candidacy of Trump.
Delaney has denied designs on the governor's office.
"What I like since he's been elected is his incredible community involvement," said Ellen Georgi, a 62-year-old public school teacher who voted in Urbana. "I just seem him being the ultimate in grass roots."
Randy Frank, a 56-year-old business consultant, said he just has trouble this year trusting Democrats, including Delaney. He said he met both candidates, and also heard a lot of radio advertising.
"Following John Delaney's voting principles, he just seems to vote sheerly on whatever Democrats put up," Frank said. "I occasionally vote for Democrats, but he wasn't one of them. I fear what people could do to this country if the wrong people are elected."
Brown, a 54-year-old Mitchellville man, ran largely on economic issues and his record as lieutenant governor. He beat Republican George E. McDermott, Libertarian Benjamin Lee Krause and the Green Party's Kamesha T. Clark.
Raskin, who was treated for colon cancer in 2010, has emerged a leading voice for liberal policy in the State House.
He made climate change, gun control and immigration reform centerpieces of his campaign. The 53-year-old Takoma Park man defeated Republican Dan Cox, Libertarian Jasen Wunder and Green Party candidate Nancy Wallace.
Baltimore Sun reporter Erin Cox and Quanny Carr contributed to this article.