When Baltimore State's Attorney Marilyn Mosby decided to run for her current office, she reached out to community activists, politicians and business leaders — but almost all discouraged her from seeking election.

She told an audience at the NAACP convention in Philadelphia on Sunday that the skeptics said she was too inexperienced and unable to raise enough money, and they questioned her "audacity."

The line drew cheers from the largely female crowd of more than 500.

Mosby was thrust into the national spotlight when she moved swiftly to bring charges against six police officers following the death of Freddie Gray in Baltimore.

She shared her own stories of loss, and said overcoming hardship is an important part of her story — and such stories should be shared to inspire others.