Marie Johnson. (Livermore Police)
Marie Johnson. (Livermore Police) (Steve Goard (925) 580-9585)

A Livermore teacher accused of having a sexual relationship with a 14-year-old boy pleaded no contest Tuesday to nine counts of having sex with the former student, according to the Alameda County District Attorney said.

Marie Johnson, 42, a former math teacher at Granada High School, entered the plea to an amended complaint at the Hayward Hall of Justice after previously pleading not guilty to the charges a month after her January 2012 arrest.

The amended complaint condenses the original 24 charges into 9. The charges include incidents of sexual intercourse, sex acts in a car and at Granada High School, and a charge of lewd and lascivious conduct for licking the boy's neck after a basketball game.

According to police, the relationship began through the popular smartphone app "Words with Friends," text messages and social media. The alleged abuse occurred from December 2010 to May 2011, according to court records.

Johnson has remained in jail since her arrest, with bail set at $950,000. She will be sentenced May 15 at the Hayward Hall of Justice.

Contact Erin Ivie at eivie@bayareanewsgroup.com. Follow her at Twitter.com/erin_ivie.