Ruhollah Khomeini's birthplace at
Ruhollah Khomeini's ancestors migrated towards the end of the 18th century from their original home in
Khorasan Province, in northeastern Iran, for a short stay, to the kingdom of
Awadh – a region in the modern state of
Uttar Pradesh, India – whose
Shia Muslims of
 During their rule they extensively invited, and received, a steady stream of Persian scholars, poets, jurists, architects, and painters.
 The family eventually settled in the small town of
Kintoor, just outside
Lucknow, the capital of Awadh.
 Ayatollah Khomeini's paternal grandfather,
Seyyed Ahmad Musavi Hindi, was born in Kintoor.
 He left Lucknow in 1830, on a pilgrimage to the tomb of
Imam Ali in
Ottoman Iraq (now
Iraq) and never returned.
 According to Moin, this migration was to escape from the spread of
British power in India.
 In 1834 Seyyed Ahmad Musavi Hindi visited Persia, and in 1839 he settled in
 Although he stayed and settled in Iran, he continued to be known as Hindi, indicating his stay in India, and Ruhollah Khomeini even used Hindi as a pen name in some of his
 There are also claims that Seyyed Ahmad Musavi Hindi departed from
Kashmir, instead of Lucknow.
Ruhollah Musavi Khomeini, whose first name means "spirit of God", was born on 24 September 1902 in
Markazi Province. He was raised by his mother, Hajieh Agha Khanum, and his aunt, Sahebeth, following the murder of his father, Seyed Mostafa Hindi, five months after his birth in 1903.
Ruhollah began to study the
Qur'an and elementary Persian at the age of six.
 The following year, he began to attend a local school, where he learned religion, noheh khani (lamentation recital), and other traditional subjects.
 Throughout his childhood, he continued his religious education with the assistance of his relatives, including his mother's cousin, Ja'far,
 and his elder brother, Morteza Pasandideh.
Education and lecturing
Khomeini as a student with his friends (second from right)
World War I arrangements were made for him to study at the Islamic seminary in
Esfahan, but he was attracted instead to the seminary in
Arak. He was placed under the leadership of
Abdul Karim Haeri Yazdi.
 In 1920, Khomeini moved to Arak and commenced his studies.
 The following year, Ayatollah Haeri Yazdi transferred to the Islamic seminary in the holy city of
Qom, southwest of
Tehran, and invited his students to follow. Khomeini accepted the invitation, moved,
 and took up residence at the Dar al-Shafa school in Qom.
 Khomeini's studies included Islamic law (
sharia) and jurisprudence (
 but by that time, Khomeini had also acquired an interest in poetry and philosophy (
irfan). So, upon arriving in Qom, Khomeini sought the guidance of
Mirza Ali Akbar Yazdi, a scholar of philosophy and mysticism. Yazdi died in 1924, but Khomeini continued to pursue his interest in philosophy with two other teachers, Javad Aqa Maleki Tabrizi and Rafi'i Qazvini.
 However, perhaps Khomeini's biggest influences were yet another teacher, Mirza Muhammad 'Ali Shahabadi,
 and a variety of historic
Mulla Sadra and
Greek philosophy and was influenced by both the philosophy of
Aristotle, whom he regarded as the founder of logic,
Plato, whose views "in the field of divinity" he regarded as "grave and solid".
 Among Islamic philosophers, Khomeini was mainly influenced by
Apart from philosophy, Khomeini was interested in literature and poetry. His poetry collection was released after his death. Beginning in his adolescent years, Khomeini composed mystic, political and social poetry. His poetry works were published in three collections: The Confidant, The Decanter of Love and Turning Point, and Divan.
 His knowledge of poetry is further attested by the famed modern poet
Nader Naderpour (1929–2000), who "had spent many hours exchanging poems with Khomeini in the early 1960", and who says : "For four hours we recited poetry. Every single line I recited from any poet, he recited the next."
Ruhollah Khomeini was a lecturer at
Najaf and Qom seminaries for decades before he was known on the political scene. He soon became a leading scholar of Shia Islam.
 He taught political philosophy,
 Islamic history and ethics. Several of his students – for example,
Morteza Motahhari – later became leading Islamic philosophers and also
marja'. As a scholar and teacher, Khomeini produced numerous writings on Islamic philosophy, law, and ethics.
 He showed an exceptional interest in subjects like philosophy and
mysticism that not only were usually absent from the curriculum of seminaries but were often an object of hostility and suspicion.
Inaugurating his teaching career at the age of 27 by giving private lessons on
Mulla Sadra to a private circle, around the same time, in 1928, he also released his first publication, Sharh Du'a al-Sahar (Commentary on the
Du'a al-Baha), "a detailed commentary, in
Arabic, on the prayer recited before dawn during Ramadan by Imam
Ja'far al-Sadiq", followed, some years later, by Sirr al-Salat (Secret of the Prayer), where "the symbolic dimensions and inner meaning of every part of the prayer, from the ablution that precedes it to the salam that concludes it, are expounded in a rich, complex, and eloquent language that owes much to the concepts and terminology of
Ibn 'Arabi. As Sayyid Fihri, the editor and translator of Sirr al-Salat, has remarked, the work is addressed only to the foremost among the spiritual elite (akhass-i khavass) and establishes its author as one of their number."
 The second book has been translated by Sayyid Amjad Hussain Shah Naqavi and released by
The Mystery of Prayer: The Ascension of the Wayfarers and the Prayer of the Gnostics".
His seminary teaching often focused on the importance of religion to practical social and political issues of the day, and he worked against secularism in the 1940s. His first political book, Kashf al-Asrar (Uncovering of Secrets)
 published in 1942, was a point-by-point refutation of Asrar-e hazar salih (Secrets of a Thousand Years), a tract written by a disciple of Iran's leading
 as well as a condemnation of innovations such as international time zones,
[note 1] and the banning of hijab by
Reza Shah. In addition, he went from Qom to Tehran to listen to Ayatullah Hasan Mudarris, the leader of the opposition majority in
Iran's parliament during the 1920s. Khomeini became a marja' in 1963, following the death of Grand Ayatollah
Seyyed Husayn Borujerdi.