The Taliban members responsible for the brutal shooting that almost claimed Malala Yousafzai's life three years ago have been sentenced to life in prison.

A court in Swat, Pakistan, tried and sentenced the 10 militants on Thursday for the 2012 attack that occurred on a school bus Yousafzai was on, BBC News reported.

The then 15-year-old was shot in the head for being an outspoken supporter of girls' right to education. Two of her friends were also wounded. After a lengthy recovery in the U.K., Yousafzai continued campaigning for children's education and human rights, culminating in her becoming the youngest recipient of the Nobel Peace Prize last year.

The exact charges behind the convictions, the first brought in the attack, are unclear. A police official said they "had a role in the planning and execution of the assassination attempt on Malala," Reuters reported.

A 23-year-old extremist named Ataullah Khan was named in the original police report following the school bus attack. However, he was not named among the 10 sentenced, according to the BBC.

Neither was Mullah Fazlullah, the local Taliban leader suspected of ordering the attack in the Swat valley. He is believed to be somewhere in neighboring Afghanistan.

Yousafzai, now 17, lives with her family in Birmingham, England. They cannot return home because of death threats from the Taliban.