An Arizona woman has been sentenced to 8 ½ years in prison for plotting a terrorist attack.

State prosecutors say 50-year-old Michelle Bastian of Florence also was sentenced Friday to lifetime probation after she serves her prison term.

Last month, Bastian pleaded guilty to terrorism and conspiracy to commit misconduct involving weapons.

Bastian was accused last year of providing her imprisoned husband with al-Qaida and Islamic State magazines and instructions for making an improvised explosive device for his use in an Arizona prison.

The articles made it past prison security because she disguised them as legal papers.

Authorities allege Thomas Bastian was plotting to kill a warden at the Lewis prison complex in Buckeye.

He has pleaded not guilty and awaits trial. He's already serving a life term for murder.