UPDATED 12:00 p.m

A federal judge in Philadelphia agreed to a reduced sentence of 10 years for a Pennsylvania woman involved in a deadly terror plot because of her extensive cooperation with investigators.

Judge Petrese Tucker accepted a government request to reduce 50-year-old Colleen LaRose of Pennsburg, Pa. sentence crediting her with four years already served. LaRose had faced a potential life term.

LaRose called herself "Jihad Jane" online and agreed to kill a Swedish artist who had offended Muslims.  She returned from Ireland in 2009 to surrender to the FBI.

Both sides agree that she was lonely and isolated and endured harsh abuse throughout her life.

LaRose smiled at her lawyers as she was brought into court in a head scarf and prison jumpsuit.

Jamie Paulin-Ramirez of Colorado and Maryland teenage Mohammad Hassan Khalid also await sentencing.

Khalid, arrested before he turned 18, is the rare juvenile held in federal custody.