Story highlights Police say Joanna Leigh did not at first claim to be injured by the bombings

She was accused of receiving almost $40,000 in benefits

(CNN) A woman who falsely claimed she was injured in the 2013 Boston Marathon bombing pleaded guilty to all charges on Friday, admitting that she purposely lied to receive nearly $40,000 in cash from public agencies and private donors.

Joanna Leigh, 41, of the Boston neighborhood of Jamaica Plain, admitted to five counts of larceny over $250 by false pretenses and one count of making a false claim to a government agency, according to a statement from the office of Suffolk County District Attorney Dan Conley.

Leigh attended a viewing party for the marathon but left the area before the bombs exploded. She didn't immediately claim she was injured and took two weeks to seek treatment. She claimed she suffered injuries as a result of running back to the blast site to help the wounded, according to the statement.

She claimed her injuries included traumatic brain injury, hearing loss, vision loss and post-traumatic stress disorder, according to the statement.

"At every step, she lied and withheld information to generate money, services and sympathy for herself," Conley said. "While others were asking how they could help, she was asking how she could benefit."

Photos: Deadly attack at Boston Marathon Photos: Deadly attack at Boston Marathon An injured man is loaded into an ambulance after two bombs went off near the finish line of the Boston Marathon on April 15, 2013. Three people were killed and at least 264 were injured. Hide Caption 1 of 55 Photos: Deadly attack at Boston Marathon A man comforts a victim on the sidewalk at the scene of the first explosion. Hide Caption 2 of 55 Photos: Deadly attack at Boston Marathon The second explosion goes off near the finish line. Hide Caption 3 of 55 Photos: Deadly attack at Boston Marathon The first explosion knocked down 78-year-old runner Bill Iffrig at the finish line. He got up a few minutes later and finished the race. Hide Caption 4 of 55 Photos: Deadly attack at Boston Marathon A runner embraces another woman on the marathon route near Kenmore Square. Hide Caption 5 of 55 Photos: Deadly attack at Boston Marathon Former New England Patriots offensive lineman Joe Andruzzi carries a woman from the scene. Hide Caption 6 of 55 Photos: Deadly attack at Boston Marathon A victim of the first explosion is helped on the sidewalk of Boylston Street. Hide Caption 7 of 55 Photos: Deadly attack at Boston Marathon An injured person is taken away from the scene in a wheelchair. Hide Caption 8 of 55 Photos: Deadly attack at Boston Marathon A woman kneels and prays at near the finish line. Hide Caption 9 of 55 Photos: Deadly attack at Boston Marathon People run down Exeter Street after the blasts. Hide Caption 10 of 55 Photos: Deadly attack at Boston Marathon The explosions occurred around 2:45 p.m., about an hour after the first of the race's nearly 27,000 runners had crossed the finish line. Hide Caption 11 of 55 Photos: Deadly attack at Boston Marathon Victims lie on the ground at the scene of the first explosion. Hide Caption 12 of 55 Photos: Deadly attack at Boston Marathon A couple runs from the scene pushing a stroller. Hide Caption 13 of 55 Photos: Deadly attack at Boston Marathon A runner reacts near Kenmore Square after the explosions. Hide Caption 14 of 55 Photos: Deadly attack at Boston Marathon A man's blood-stained feet hang outside an ambulance. Hide Caption 15 of 55 Photos: Deadly attack at Boston Marathon A bystander who was injured in the first explosion is wheeled across the finish line while receiving medical attention from rescue workers. Hide Caption 16 of 55 Photos: Deadly attack at Boston Marathon Carlos Arredondo was at the race handing out American flags to spectators. After the blasts, he helped emergency responders and is credited with helping a man survive serious leg wounds. Hide Caption 17 of 55 Photos: Deadly attack at Boston Marathon The second explosion goes off near the finish line. Hide Caption 18 of 55 Photos: Deadly attack at Boston Marathon Police look at blown-out windows. The bombs shook buildings, witnesses said, sending people to seek shelter under tables. Hide Caption 19 of 55 Photos: Deadly attack at Boston Marathon Unclaimed runners' bags fill an area near the marathon finish. Hide Caption 20 of 55 Photos: Deadly attack at Boston Marathon Women desperate to hear from loved ones are unable to get close to the site of the attack. Hide Caption 21 of 55 Photos: Deadly attack at Boston Marathon Police and runners stand near Kenmore Square after the attack. Hide Caption 22 of 55 Photos: Deadly attack at Boston Marathon Runners gather near Kenmore Square after the explosions. Hide Caption 23 of 55 Photos: Deadly attack at Boston Marathon An EMT worker is transferred to an ambulance outside a medical tent in Copley Square. Hide Caption 24 of 55 Photos: Deadly attack at Boston Marathon A SWAT team arrives on the scene. Hide Caption 25 of 55 Photos: Deadly attack at Boston Marathon A runner sits near Kenmore Square after the attack. Hide Caption 26 of 55 Photos: Deadly attack at Boston Marathon Runners who had not yet finished the race are stopped after the explosions. Hide Caption 27 of 55 Photos: Deadly attack at Boston Marathon Victims are helped at the scene of the first explosion. Hide Caption 28 of 55 Photos: Deadly attack at Boston Marathon A man in tears is helped at the scene on Boylston Street. Hide Caption 29 of 55 Photos: Deadly attack at Boston Marathon Passersby put pressure on a victim's leg to try to stop the bleeding. Hide Caption 30 of 55 Photos: Deadly attack at Boston Marathon Massachusetts State Police guard an area near Kenmore Square. Hide Caption 31 of 55 Photos: Deadly attack at Boston Marathon Bystanders embrace near the finish line. Hide Caption 32 of 55 Photos: Deadly attack at Boston Marathon Police officers gather on Newbury Street. Hide Caption 33 of 55 Photos: Deadly attack at Boston Marathon Women and children are escorted away from the scene. Hide Caption 34 of 55 Photos: Deadly attack at Boston Marathon Bomb squad officials check a possible suspicious device near the scene of the blasts. Hide Caption 35 of 55 Photos: Deadly attack at Boston Marathon A woman is comforted after the blasts. Hide Caption 36 of 55 Photos: Deadly attack at Boston Marathon Two injured women are taken away on stretchers. Hide Caption 37 of 55 Photos: Deadly attack at Boston Marathon An injured woman is loaded into an ambulance. Hide Caption 38 of 55 Photos: Deadly attack at Boston Marathon First responders load injured people into an ambulance. Hide Caption 39 of 55 Photos: Deadly attack at Boston Marathon An injured man is prepared to be moved from a stretcher to an ambulance. Hide Caption 40 of 55 Photos: Deadly attack at Boston Marathon An injured woman is placed on a stretcher. Hide Caption 41 of 55 Photos: Deadly attack at Boston Marathon A runner is comforted following the attack. Hide Caption 42 of 55 Photos: Deadly attack at Boston Marathon The Cambridge Police Department's bomb squad investigates unattended personal items left behind after the explosions. Hide Caption 43 of 55 Photos: Deadly attack at Boston Marathon Bystanders check their mobile devices for news of the explosions. Hide Caption 44 of 55 Photos: Deadly attack at Boston Marathon A member of the bomb squad investigates a suspicious item on the road near Kenmore Square. Hide Caption 45 of 55 Photos: Deadly attack at Boston Marathon A runner in a wheelchair is taken from a triage tent after the explosions went off. Hide Caption 46 of 55 Photos: Deadly attack at Boston Marathon People comfort each near the site of the blasts. Hide Caption 47 of 55 Photos: Deadly attack at Boston Marathon Racers and race officials stand by after the explosions. Hide Caption 48 of 55 Photos: Deadly attack at Boston Marathon Emergency personnel respond to the scene. Hide Caption 49 of 55 Photos: Deadly attack at Boston Marathon Police and emergency crews tend to victims. Hide Caption 50 of 55 Photos: Deadly attack at Boston Marathon An injured woman is carried away on a stretcher. Hide Caption 51 of 55 Photos: Deadly attack at Boston Marathon A man lies on the ground after the incident. Hide Caption 52 of 55 Photos: Deadly attack at Boston Marathon Officials watch as the first explosion goes off on Boylston Street. Hide Caption 53 of 55 Photos: Deadly attack at Boston Marathon Spectators leave the bleachers after the explosions. Hide Caption 54 of 55 Photos: Deadly attack at Boston Marathon Police inspect one of the blast sites. Hide Caption 55 of 55

Read More