Malala was shot in the head on a school bus in Swat Valley in north-west Pakistan on October 9, 2012. She was flown to the UK for treatment, and after her recovery finished her studies at a school in Birmingham.

Thousands of well-wishers responded with messages of congratulations after she posted the picture, and the post was liked more than 150,000 times within hours.

Her brother, Khushal Yousafzai, tweeted in reply: "Sorry for being a headache for the last 5years. So grateful you are still with us. Ik (I know) you miss me but i am coming to oxford in 2years."

She has updated her supporters on her university journey on Twitter previously, using the site to announce that she had got the grades she needed to take up her place at Oxford to study Philosophy, Politics and Economics (PPE), and asking for advice on what to pack.