Rapper Foxy Brown has pleaded guilty to menacing a neighbor with her cell phone last year. She avoided jail based on time already served.

Brown and neighbor Arlene Raymond got into a fight last July over Brown blasting her car stereo outside their Brooklyn apartment building.

As part of the plea deal, the 28-year-old rapper wrote a letter apologizing to Raymond. Brown presented the letter to Justice John Walsh in a Brooklyn court on Thursday.

The judge extended Raymond's order of protection.

Brown, whose real name is Inga Marchand, spent seven months in jail for a Manhattan case involving a fight she had with manicurists in a nail salon. She was released last month.