Former Lt. Gov. Anthony G. Brown -- who lost the 2014 gubernatorial race -- defeated county prosecutor Glenn F. Ivey in the Democratic primary for the open congressional seat in the Prince George's County-centered 4th District.
"Thank you for placing your trust in me as your Democratic nominee," Brown tweeted.
For Brown, there was little break between losing the 2014 gubernatorial race to Republican Larry Hogan and launching his bid for the 4th District seat being vacated by Rep. Donna F. Edwards, who ran for the Senate.
Brown, who was Gov. Martin O'Malley's lieutenant governor for eight years, sought unsuccessfully to become the state's first African-American governor. He is a veteran who served as a judge advocate general in the Army and serves in the Army Reserve.
Brown, who stressed preserving President Barack Obama's accomplishments, still owes money from his gubernatorial race. In recent weeks, he has loaned himself $400,000 for his congressional run. But he entered the race with high voter name recognition.
Brown faced challenges from five other candidates, including Ivey and Del. Joseline Pena-Melnyk. With all but one precinct reporting as of Wednesday morning, Brown held 42 percent of the votes in the district. Ivey was second with 34 percent, Pena-Melnyk third with 19 percent.
Ivey is married to Jolene Ivey, a former state delegate who was Doug Gansler's running mate in his unsuccessful bid for the Democratic gubernatorial nomination in 2014.
The 4th District has more than four times as many registered Democrats as Republicans.
George McDermott, who lost to Nancy Hoyt in the 2014 GOP primary for the seat, won on the Republican side with 46 percent of the vote.
McDermott, an entrepreneur and developer, ran as a Democrat in 2012, losing to Edwards in the primary.