The early six-figure totals came in a race that has not seen significant fundraising from candidates in previous years. Bernstein's campaign committee had a prior balance of $149,300, and he raised $250,400 in the past year, records show. After expenditures, he has $342,000 on hand.

“I am grateful to those who have shown their support and confidence in me, and I look forward to sharing our accomplishments …and my plans for the second term,” Bernstein wrote in an email. “For now, I remain focused on fighting violent crime and making Baltimore a safer city.”

The campaign of Marilyn Mosby said it raised $110,000 and had $100,000 on hand — an amount campaign spokesman Derrick Greene said shows she will “have the budget necessary to take her message directly to the voters.”

Attorney Russell Neverdon reported raising $17,000 and had less than $2,000 cash on hand after expenses. He did not respond to requests for comment.

In 2010, Bernstein declared his candidacy just a few months before the primary election and raised about $330,000, far outpacing then-incumbent Patricia A. Jessamy. Bernstein went on to win the election by two percentage points.

It was the most competitive race since 1982. Office holders since then had been appointed to the position then typically ran unopposed. Jessamy had two challengers in 2002, and she raised about $80,000 for that race.

Bernstein's contributors include the Baltimore Orioles, who gave $2,000, and the team's Mid-Atlantic Sports Network, which gave $3,000. Developer Michael Beatty gave $1,000, and Under Armour owner Kevin Plank and his wife contributed $4,000.

Mosby, whose husband is City Councilman Nick Mosby, has been endorsed by several council members, whose campaign funds contributed a total of $15,000. The campaign committee of Rep. Elijah Cummings also contributed $500.

“The momentum is definitely on our side,” Mosby said. “People are giving whatever they can spare to make change happen in Baltimore.”

Just getting accepted to Johns Hopkins University was an accomplishment for Jeremy Huber. Getting recruited to play lacrosse for a program that has won nine national championships was another thing entirely.