text: Peshawar, Pakistan (CNN)Ten people have been sentenced to life in prison for their roles in the 2012 attack on Nobel Peace Prize-winning activist Malala Yousafzai, a judge announced Thursday. The assailant's conviction and sentences follow a trial that included testimony from both sides, according to Pakistani antiterrorism judge Mohammad Amin Kundi. The 10 were arrested in Swat, a district of Pakistan's Khyber Pakhtunkhwa province, Pakistani army spokesman Maj. Gen. Asim Bajwa said last September. That was nearly two years after the then 15-year-old Yousafzai -- who was despised by Taliban militants for her outspoken support of girls' right to an education -- was shot as she was traveling home on a school bus. She not only survived that attack, but went on to become an even more vocal international activist. In fact, her efforts helped earn her the Nobel Peace Prize -- which she shared with India's Kailash Satyarthi -- last year. Malala at U.N.: The Taliban failed to silence us . Journalist Zahir Shah reported from Peshawar, and CNN's Greg Botelho wrote this story from Atlanta.
target: The sentences came after a trial in Pakistan, a judge says .
  Malala Yousafzai is an outspoken advocate for the education of girls .
  She was attacked in Pakistan in 2012 .