New York (CNN) -- The daughter of Rolling Stones guitarist Keith Richards scored some sympathy with prosecutors with charges to be dismissed in six months if she stays out of trouble.
Manhattan prosecutor Kelli Clancy agreed to what is called "the adjournment in contemplation of dismissal" based on "the defendant's lack of a prior record and her ongoing treatment," according to spokeswoman Joan Vallero.
Theodora Richards was arrested in early March after allegedly scrawling graffiti on a building in a Manhattan neighborhood, according to police.
Richards, 25, was also slapped with drug charges after police found her carrying marijuana while writing "T (heart) A" with a paint marker in the city's Soho district, said a New York Police Department spokeswoman who declined to be named in accord with department policy.
Attorney Edwards Hayes, who is representing Richards and accompanied her to Manhattan Criminal court on Thursday, said the deal was reached Thursday. He said as part of the agreement, she will have to serve two days of community service which must be completed by June 24.
"She was sorry that she did it and that it happened," said Hayes, of Richard's reaction following the agreement. This was Richard's first offense.
Richards, who has modeled for brands like Burberry and French Connection, was charged with two counts of making graffiti, possession of a graffiti-making instrument, criminal possession of a controlled substance and unlawful possession of marijuana.
Richards is the daughter of model Patti Hansen and the Rolling Stones icon who gained international fame not only for his music, but also for years of drug use and multiple scrapes with the law.
CNN's Leigh Remizowski contributed to this report