Malala Yousafazi has written an autobiography about her experience being attacked by the Taliban.

Pakistani schoolgirl Malala Yousafazi, 16, will be releasing an autobiography on Tuesday, called "I am Malala." A section has already been published in the Parade magazine. In the section, she describes the day when she was shot in the head while coming home from school, according to the Daily Mail.

Yousafazi was a target for the Taliban after she advocated women's education on a BBC blog and in a New York Times documentary.

She says that before the attack, she told her friends that she thought she would not be a target of the Taliban because she was only 11 years old when she started advocating education.

ABC News reports that on that day, Yousafazi remembers a man stopped her bus and asked for her. The man then shot Yousafazi with a pistol before leaving.

“My friends say he fired three shots. The first went through my left eye socket and out under my left shoulder.”

Six days later, she was taken to an England hospital to undergo several surgeries, leaving three months later.

She since has been nominated for a Nobel Peace Prize, and founded the Malala Fund, a nonprofit organization fighting for women's education around the world.

The autobiography will be released in 21 countries.