Republican voters in Maryland on Tuesday nominated for governor Dan Cox, a state legislator who was endorsed by former President Donald J. Trump and who wrote on Twitter during the Jan. 6, 2021, attack on the Capitol that Vice President Mike Pence was a “traitor.”
The Associated Press called the race late Tuesday.
Mr. Cox defeated Kelly Schulz, a former cabinet secretary under Gov. Larry Hogan, an ambitious term-limited governor who has sought to present himself as a potential alternative to Mr. Trump in 2024. But Mr. Hogan’s inability to push through his political protégé in his home state will put a significant damper on his chance of galvanizing a national movement in the party against Mr. Trump.
Mr. Cox faces a steep general-election challenge in a state Joseph R. Biden Jr. won by more than 30 percentage points. Republicans like Mr. Hogan have done well in Maryland by appealing to independents and moderate Democratic voters worried about Democratic dominance of the General Assembly; Mr. Cox has predicated his campaign on a fealty to Mr. Trump and his far-right base.
In remarks to supporters in Annapolis before the race was called on Tuesday night, Ms. Schulz expressed regret about Republican voters’ loyalty to Mr. Trump and lamented that the G.O.P. has strayed from its historical roots.
“My Republican Party is the party of Lincoln, Teddy Roosevelt, Ronald Reagan and John McCain,” she said. “And that is exactly the party that I will continue to fight for.”
Ms. Schulz had predicted Mr. Cox would lose the general election by 30 percentage points to any of the Democrats running.
“The Maryland Republican Party got together and committed ritualized mass suicide,” said Doug Mayer, an senior aide to Ms. Schulz. “The only thing that was missing was Jim Jones and cup of Kool-Aid.”
Democrats were choosing among a field of nine candidates, the top tier of which included Tom Perez, a former Democratic National Committee chairman and labor secretary; Peter Franchot, the state comptroller, who has been in Maryland politics since 1987; and Wes Moore, a best-selling author and former nonprofit executive who campaigned as a political newcomer.
Late Tuesday, Mr. Moore held a healthy lead over Mr. Perez, with Mr. Franchot well behind both, though nearly two-thirds of the Democratic vote still remained to be counted — and very little had been reported in Montgomery County, Mr. Perez’s home base.
Mr. Moore built his advantage through his strength in Baltimore City and Prince George’s County, which are home to the state’s largest concentrations of Black voters. He was winning nearly half of the vote in Prince George’s County, a populous Washington suburb, a margin that might be difficult for Mr. Perez to make up.
Because Maryland law prohibits the processing and counting of ballots returned by mail and in drop boxes until Thursday, the outcome of the Democratic primary for governor and other close races might not be known for days.
As Democrats try to retake a governor’s office that has been held since 2015 by a Republican, Mr. Hogan, their primary contest was defined by stylistic differences rather than ideological ones. Mr. Perez and Mr. Franchot emphasized their long experience in government, while Mr. Moore argued that the party needed new blood.
“You know what you’re going to get with Tom Perez,” Mr. Perez said last week in an interview outside an early-voting site in Silver Spring. “It’s a workhorse, not a show horse. It’s someone with a proven track record of getting stuff done.”
In an interview on Tuesday on MSNBC, Mr. Moore dismissed criticism that he had given misleading impressions about his personal history and accomplishments, and said the real risk would be elevating an establishment candidate.
“People are not looking for the same ideas from the same people,” he said.
Mr. Cox, whose campaign raised little money, was the beneficiary of more than $1.16 million in television advertising from the Democratic Governors Association, which tried to help his primary campaign in hopes that he would be easier to defeat in the general election. Democrats across the country have employed similar strategies to aid far-right Republicans in G.O.P. primaries this year, despite the risk that it could backfire.
At least 169,000 Democratic absentee ballots and more than 38,000 Republican ballots had been returned as of Monday, according to the State Board of Elections. Another 204,000 Democratic and 58,000 Republican absentee ballots were mailed to voters and remain outstanding. Ballots postmarked on Tuesday will count if they are received by July 29.
Another 116,000 Democrats and 51,000 Republicans voted during the state’s eight days of early in-person balloting, which ended last week.
The turnout was expected to outpace past competitive primaries in Maryland. Four years ago, in another closely contested Democratic primary for governor, 552,000 people voted. Officials involved in the Democratic campaigns expected between 600,000 and 700,000 votes this year in the primary for governor.
The Republican turnout picture was murkier. There has not been a meaningful statewide G.O.P. primary in a midterm year since 2014, when Mr. Hogan first ran. That year, 215,000 Republicans voted.
In the state’s open contest for attorney general, Republicans were choosing between Michael Anthony Peroutka, who has on several occasions spoken to the League of the South, a group that calls for the states of the former Confederacy to secede again from the United States, and Jim Shalleck, a prosecutor who has served as president of the Montgomery County Board of Elections.
In the Democratic primary, Representative Anthony Brown, who served as lieutenant governor under Gov. Martin O’Malley, was facing off against Mr. O’Malley’s wife, Katie Curran O’Malley, who was a judge in Baltimore for two decades.
Republicans have not won an election for Maryland attorney general since 1918.
In other Maryland races, former Representative Donna Edwards was trying to win back the Prince George’s County-based House seat she gave up to run for the Senate in 2016. Her candidacy is embroiled in a proxy war over Israel policy.
The United Democracy Project, a political action committee affiliated with the American-Israel Public Affairs Committee, has spent $5.9 million to help Ms. Edwards’s Democratic opponent, Glenn Ivey, a prosecutor. Ms. Edwards, for her part, is backed by J Street, a liberal Jewish organization.
And in a House district that stretches from the Washington suburbs across Western Maryland to the West Virginia line, Mr. Trump and Mr. Hogan — frequent critics of each other — endorsed the same candidate, only to see him go down in defeat.
That candidate, a 25-year-old conservative journalist, Matthew Foldi, lost to Neil Parrott, a Republican state legislator. Mr. Parrott will face Representative David Trone, a wealthy Democrat, in a rematch of their 2020 contest.