A Boston woman pleaded guilty to scamming the One Fund and various other charities of more than $38,500 by falsely claiming she suffered a traumatic brain injury after being near the second explosion at the Boston Marathon finish line in 2013.

Joanna Leigh, 41, wiped tears from her eyes yesterday as the prosecutor detailed the charges against her, which included an ill-gotten sum of $8,000 from the One Fund — the charity set up to aid marathon victims — an $18,390.16 award from the Massachusetts Victims of Violent Crimes Compensation Fund, $9,357 raised on a GoFundMe page dedicated to her, and $1,853.48 from a fundraiser held by a Mattapan school.

Leigh pleaded guilty to five counts of larceny over $250 and one count of making a false claim to a government agency.

Judge Peter Krupp sentenced Leigh to a year in jail, which was suspended for three years of probation. Prosecutors had recommended two to three years in state prison.

Leigh had claimed she was running to help a victim when she was “blown back” by the second blast. Assistant District Attorney Greer Spatz said eyewitness testimony as well as video and still photography from that day showed Leigh was actually more than a block away from the explosion.

Despite receiving an $8,000 payout from the One Fund, Leigh lobbied for more — saying she should be paid as a “Category A” victim, a status reserved for those who had been killed or become double-amputees, Spatz said.

One Fund president James D. Gallagher offered the sole victim impact statement.

“But for Miss Leigh’s criminal conduct, this generously donated money would have been distributed to victims and survivors of the Marathon during what was undoubtedly the worst time of their lives,” he said.

“In fact, we can safely say that there is no other person on whom the One Fund’s personnel was forced to spend more time and attention than Ms. Leigh.”

Spatz noted Leigh repeatedly claimed she was not getting any help from the One Fund — even after the fund paid out $8,000. This claim, the ADA said, was the basis for a fundraiser held by the Mildred Avenue School in Mattapan, which brought in $1,853.48. The school chose to support Leigh over someone else because they thought she had not received any money, Spatz said.

Leigh’s attorney, Norman Zalkind, told reporters after the hearing his client would have gotten the $8,000 anyway because she suffered post-traumatic stress disorder after the bombings.

Zalkind said Leigh’s mother will be paying back the victims “immediately … within hours or days.”