An actress who played a Baltimore drug gang assassin in HBO's "The Wire" pleaded guilty Monday to conspiring to distribute heroin, caught by a wiretap in a joint federal-state drug probe of an alleged drug gang. 
 
 Felicia "Snoop" Pearson, 31, pleaded guilty to conspiracy to distribute heroin, a day before her trial was set to begin. Judge Lawrence Fletcher-Hill accepted the plea, suspending a seven-year sentence with credit for time served and ordering three years of supervised probation with provisions for out-of-state travel for work. 
 
 The plea allows Pearson to move on with her acting career, instead of spending more than a year with charges hanging over her, attorney Benjamin C. Sutley said outside the courthouse. 
 
 "I can't say she would have been found not guilty," Sutley said. But Pearson interrupted, saying "I would have been found not guilty." 
 
 Pearson was one of 64 people charged in March in "Operation Usual Suspects." The federal indictment states that since 2008, members of the conspiracy bought heroin from New York and marijuana from California and sold the drugs on the streets of Baltimore. As part of the conspiracy, the indictment alleges, members discussed how those who failed to perform required tasks were dealt with violently. 
 
 Pearson was caught on a wiretap conspiring with Shawn Johnson and Jeff Gibbs, who bought heroin in bulk from New York and distributed the drugs in Baltimore, according to a statement of charges read aloud in court by prosecutor Rebecca Finn. Johnson paid Pearson to store drugs and money, including drug proceeds, at her apartment in the city, Finn said. 
 
 When another member of the alleged conspiracy was kidnapped by rival dealers, Johnson told him to go to Pearson's apartment to get money pay a ransom, Finn said. Police interrupted the abduction outside Pearson's apartment and found heroin in the abducted man's car, she said. Informants also told investigators that Pearson occasionally sold heroin for Johnson, Finn said. 
 
 Some of the people involved in the wider case helped take care of Pearson when she was a teen, but she has now "learned a valuable lesson about how some loyalties you keep and others drag you down," Sutley said. 
 
 Pearson said she knows everyone in Baltimore. Asked how she'll avoid falling into the same situation in the future, Pearson said, "I'm moving to L.A." 
 
 Pearson, who wore retro-style glasses with a black-and-white checked shirt and a red paisley bow tie to court, said she is working on two movies. She later updated her followers on Twitter, "I'm FREE." 
 
 "The Wire," which ran from 2002 to 2008, was filmed in Baltimore and put a spotlight on the city's struggle with poverty and drug violence through the stories of the city's police, drug organizations, schools, politicians and media. Pearson's character, which shares the nickname "Snoop," knocks off several people for the fictitious Stanfield drug gang. 
 
 This was not Pearson's first brush with the law. She was convicted of second-degree murder in a slaying committed when she was 14. She served five years of an eight-year sentence and was released in 2000. Pearson was arrested on a minor drug charge in 2008 when police went to her home to pick her up for refusing to cooperate as a witness in a murder trial. She was found not guilty. ||||| Soren McCarty/WireImage 
 
 Snoop has admitted to her role in a villainous ensemble cast. 
 
 Felicia Pearson, who played a drug dealer's assassin of the same name on The Wire, has craftily kept herself out of prison by pleading guilty to conspiracy to distribute heroin for her role in a Baltimore drug ring. 
 
 By cutting a deal a day before her trial was set to begin, Pearson received credit for time served and a suspended seven-year sentence, as well as three years of supervised probation. During her probationary period she'll be allowed to leave Maryland on a provisional basis to work. 
 
 The actress, who originally pleaded not guilty, hasn't exactly changed her tune, however. 
 
 MORE: OutKast's Big Boi Sent to the Big House! 
 
 "I would have been found not guilty," Pearson interjected as her lawyer answered reporters' questions. Asked how she'll avoid legal trouble in the future, she replied, "I'm moving to L.A." 
 
 The 31-year-old was caught on a wire tap set up as part of a joint federal-state investigation into a multistate drug ring deemed "Operation Usual Suspects." Authorities alleged that marijuana from California and heroin from New York were being transported into Baltimore for sale, and Pearson was one of 64 people indicted in March in connection with the operation. 
 
 According to prosecutors, Pearson was accused of allowing drugs and cash to be stored in her apartment. 
 
 She has since "learned a valuable lesson about how some loyalties you keep and others drag you down," her attorney said. 
 
 GALLERY: Court Appearances
– Felicia "Snoop" Pearson, best known for playing a drug-gang hit woman of the same name on The Wire, has pleaded guilty to conspiring to distribute heroin. The 31-year-old actress was arrested along with dozens of others earlier this year after a federal-state wiretap of a Baltimore drug ring. She has received a suspended seven-year sentence with credit for time served under a plea deal made a day before her trial was due to begin, AP reports. Pearson—whose record includes a conviction for second-degree murder when she was just 14—was ordered to undergo three years of supervised probation. The plea deal will allow her to pursue her acting career out of state. "I can’t say she would have been found not guilty,” her lawyer said, but Pearson interrupted, saying: “I would have been found not guilty." Asked how she planned to stay out of trouble in the future, she responded: "I'm moving to LA," E! Online reports.