Former federal prosecutor Tali Farhadian Weinstein released a statement saying that with the majority of paper ballots counted, it became clear that she could not overcome the narrow vote margin.
"I remain immensely proud of what we accomplished over this past year," she said. "From start to finish, we insisted that safety is the precondition of opportunity and a good life, and that our recovery from this brutal year depends on it. We raised awareness about some of the city's toughest problems, looked them in the eye, and offered real, concrete solutions that I hope will come to life. We also insisted that every person working in the criminal justice system, including prosecutors, must confront and correct the deeply embedded race, gender, and income biases in our country."
Bragg will face Republican Thomas Kenniff in the general election in November, and if elected, he would be Manhattan's first Black district attorney.
The eight-person race to succeed District Attorney Cyrus Vance Jr. narrowed after Primary Day, when six other Democrats were too far back to win the high-profile prosecutor job glamorized on shows like "Law & Order."
Check here for NYC Primary Results
Vance has been leading a probe of Trump's business dealings, but he leaves office at the end of the year.
In heavily Democratic Manhattan, the Democratic primary is expected to decide the winner.
Farhadian Weinstein made waves by donating $8.2 million to her own campaign, more than all the other candidates have raised, combined.
The candidates all said they're not afraid of taking on Trump, but they were also been cautious not to appear to be prejudging the investigation.
Vance's office has spent two years scrutinizing Trump's business dealings.
WATCH | When will we know who wins NYC's mayoral primary?
* Get Eyewitness News Delivered
* More New York City news
* Send us a news tip
* Download the abc7NY app for breaking news alerts
* Follow us on YouTube
Submit a News Tip