Prince George’s County Executive Angela Alsobrooks won Maryland’s Democratic Senate primary Tuesday, NBC News projects, defeating self-funding Rep. David Trone after a bitter and expensive campaign.

Alsobrooks will face a competitive general election race in the deep blue state against Republican Larry Hogan, the popular former two-term governor. If she wins, Alsobrooks will become the state’s first Black senator.

“What we know is that Maryland has been a blue state, but it will only stay a blue state if we put in the work,” Alsobrooks told the crowd at her primary victory party Tuesday night. “Because Larry Hogan, his BFF Mitch McConnell and Donald Trump’s Republican Party want to flip this seat.”

Trone spent at least $61 million of his own money on his campaign, tapping his personal fortune as founder of the Total Wine & More retail chain to set a self-funding record for a candidate in a primary election. But Alsobrooks found momentum in the closing stretch of the race, leveraging endorsements from high-profile Maryland officials and building grassroots support.