Ayaan was born in 1969 in Mogadishu, Somalia. Her father, Hirsi Magan Isse, was a prominent member of the Somali Salvation Democratic Front and a leading figure in the Somalian Revolution. Shortly after she was born, her father was imprisoned due to his opposition to the Siad Barre government. Hirsi Ali's father had studied abroad and was opposed to female genital mutilation, but while he was imprisoned, Hirsi Ali's grandmother had a man perform the procedure on her, when Hirsi Ali was five years old. According to Hirsi Ali, she was fortunate that her grandmother could not find a woman to do the procedure, as the mutilation was "much milder" when performed by men.  After her father escaped from prison, he and the family left Somalia in 1977, going to Saudi Arabia and then to Ethiopia, before settling in Nairobi, Kenya by 1980. There he established a comfortable upper-class life for them. Hirsi Ali attended the English-language Muslim Girls' Secondary School. By the time she reached her teens, Saudi Arabia was funding religious education in numerous countries and its religious views were becoming influential among many Muslims. A charismatic religious teacher, trained under this aegis, joined Hirsi Ali's school. She inspired the teenaged Ayaan, as well as some fellow students, to adopt the more rigorous Saudi Arabian interpretations of Islam, as opposed to the more relaxed versions then current in Somalia and Kenya. Hirsi Ali said later that she had long been impressed by the Qur'an and had lived "by the Book, for the Book" throughout her childhood.  She sympathised with the views of the Islamist Muslim Brotherhood, and wore a hijab with her school uniform. This was unusual at the time but has become more common among some young Muslim women. At the time, she agreed with the fatwa proclaimed against British Indian writer Salman Rushdie in reaction to the portrayal of the Islamic prophet Muhammad in his novel The Satanic Verses. After completing secondary school, Hirsi Ali attended a secretarial course at Valley Secretarial College in Nairobi for one year. As she was growing up, she also read English-language adventure stories, such as the Nancy Drew series, with modern heroine archetypes who pushed the limits of society. Also, remembering her grandmother refusing soldiers entry into her house, Hirsi Ali associated with Somalia "the picture of strong women: the one who smuggles in the food, and the one who stands there with a knife against the army and says, 'You cannot come into the house.' And I became like that. And my parents and my grandmother don't appreciate that now - because of what I've said about the Qur'an. I have become them, just in a different way."

Answer this question "What happened after her father was jailed?" by extracting the answer from the text above.
After her father escaped from prison, he and the family left Somalia in 1977, going to Saudi Arabia and then to Ethiopia, before settling in Nairobi, Kenya by 1980.