(Brad Smith/ISI Photos)

Hope Solo pleaded guilty Monday to driving while impaired four months after she was found passed out behind the wheel in a Walmart parking lot in Winston-Salem, N.C., in March, with her two children in the back seat.

The former U.S. women’s national team goalkeeper refused to submit to a breathalyzer test, according to the District Attorney’s Office, but an officer later obtained a search warrant for a blood sample.

Solo’s blood alcohol level was 0.24, which is three times the legal limit of .08 in North Carolina. The test also showed THC in her system, prosecutors said.

Solo was charged with driving while intoxicated, resisting arrest and misdemeanor child abuse, but the latter two charges were dropped as part of her plea agreement, Forsyth County district attorney Jim O’Neill told the New York Times. Her two-year prison sentence was suspended for all but 30 days, which have been fulfilled through 30 days spent at Hope Valley, an in-person rehab facility.

In a statement Monday, Solo, 40, called the incident “the worst mistake of my life.”

“I underestimated what a destructive part of my life alcohol had become,” she said. “The upside of making a mistake this big is that hard lessons are learned quickly. Learning these lessons has been difficult, and at times, very painful.”

In April, Solo’s induction into the National Soccer Hall of Fame was postponed so that she could enter an alcohol treatment facility.

She will serve two years of probation, during which time she will see a court-approved addiction expert and abide by any other court-mandated treatment. Her driver’s license has also been suspended.

A member of the USWNT for 16 years, she was a member of the U.S. team that won the World Cup in 2015. She also won Olympic gold with the team in 2008 and 2012.

In June 2014, Solo was arrested on domestic violence charges following an alleged altercation with her half-sister and 17-year-old nephew. Those charges were eventually dropped. She was later terminated by U.S. Soccer after calling the Swedish team “a bunch of cowards” after the 2016 Rio Olympics.