Five years ago, the Taliban shot Malala Yousafzai in the head for advocating the right of girls to be educated. Now she has won a place at Lady Margaret Hall, University of Oxford, to study philosophy, politics and economics, or PPE.

The 20-year-old Nobel peace prize winner tweeted a screenshot of the confirmation and said: “So excited to go to Oxford!! Well done to all A-level students – the hardest year. Best wishes for life ahead!”

Alan Rusbridger, the principal of Lady Margaret Hall, whose alumni include one of her heroes, the former Pakistani president Benazir Bhutto, tweeted his welcome to Yousafzai.

Yousafzai comes from the Swat valley, an area in north-west Pakistanwhich has periodically banned girls from attending school. When the Taliban were driven out of the region in 2012, Yousafzai stepped up her campaign for girls to be allowed to go to school.