User:HistoryofIran/Avicenna

Ibn Sina, better known in the West by the Latinized form of Avicenna was a Persian polymath who wrote about many subjects, mainly in philosophy and medicine, but also natural history, physics, chemistry, astronomy, mathematics, and music.

Avicenna served in the court of various Iranian dynasties, such as the Samanids, Ma'munids, Ziyarids, Buyids and Kakuyids.

He was born in a village named Afshana (near the capital of Bukhara) in c. 980 to a family with a bureaucratic background—his father was the governor of the village of the royal estate Harmaytan. At the of seventeen, he was appointed as a physician of the Samanid amir (ruler) Nuh II ((r. 976 – 997)). Between 997–1009 (possibly in 999), Avicenna went to Gurganj, the capital of Khwarazm.

Despite his Persian background, Avicenna wrote most of his work in Arabic, as it was the popular language in scholarship at the time. Regardless, he did write some of his works in Persian, such as the Danish-nama-yi Ala'i ("Book of Science for Ala"), which he had dedicated to his patron, Ala al-Dawla Muhammad ((r. 1008 – 1041)), the Kakuyid ruler of Isfahan.

Early life and education
Avicenna was born in in the village of Afshana in Transoxiana to a family of Persian stock. The village was near the Samanid capital of Bukhara, which was his mothers hometown. His father Abd Allah was a native of the city of Balkh in Tukharistan. An official of the Samanid bureaucracy, he had served as the governor of a village of the royal estate of Harmaytan (near Bukhara) during the reign of Nuh II ((r. 976 – 997)). Avicenna also had a younger brother. A few years later, the family settled in Bukhara, a centre of learning, which attracted many scholars. It was there that Avicenna was educated, which early on was seemingly administered by his father. Although both Avicenna's father and brother had converted to Ismailism, he himself did not follow the faith. He was instead an adherent of the Hanafi school, which was also followed by the Samanids.

Avicenna was first schooled in the Quran and literature, and by the age of 10, he had memorised the entire Quran. He was later sent by his father to an Indian greengrocer, who taught him arithmetic. Afterwards, he was schooled in Jurisprudence by the Hanafi jurist Ismail al-Zahid. Some time later, Avicenna's father invited the physician and philosopher Abu Abdallah al-Natili to their house to educate Avicenna. Together, they studied the Isagoge of Porphyry (died 305) and possibly the Categories of Aristotle (died 322 BC) as well. After Avicenna had read the Almagest of Ptolemy (died 170) and Euclid's Elements, Natili told him to continue his research independently. By the time Avicenna was eighteen, he was well-educated in Greek sciences. Although Avicenna only mentions Natili as his teacher in his autobiography, he most likely had other teachers as well, such as the physicians Abu Mansur Qumri and Abu Sahl al-Masihi.

In Bukhara and Gurganj
At the age of seventeen, Avicenna was made a physician of Nuh II. By the time Avicenna was at least 21 years old, his father died. He was subsequently given an administrative post, possibly succeeding his father as the governor of Harmaytan. Avicenna later moved to Gurganj, the capital of Khwarazm, which he reports that he did due to "necessity". The date he went to the place is uncertain, as he reports that he served the Khwarazmshah (ruler) of the region, the Ma'munid Abu al-Hasan Ali. The latter ruled from 997 to 1009, which indicates that Avicenna moved sometime during that period. He may have moved in 999, the year which the Samanid state fell after the Turkic Qarakhanids captured Bukhara and imprisoned the Samanid ruler Abd al-Malik II. Due to his high position and strong connection with the Samanids, Avicenna may have found himself in an unfavorable position after the fall of his suzerain. It was through the minister of Gurganj, Abu'l-Husayn as-Sahi, a patron of Greek sciences, that Avicenna entered into the service of Abu al-Hasan Ali. Under the Ma'munids, Gurganj became a centre of learning, attracting many prominent figures, such as Avicenna and his former teacher Abu Sahl al-Masihi, the mathematician Abu Nasr Mansur, the physician Ibn al-Khammar, and the philologist al-Tha'alibi.

In Gurgan
Avicenna later moved due to "necessity" once more (in 1012), this time to the west. There he travelled through the Khurasani cities of Nasa, Abivard, Tus, Samangan and Jajarm. He was planning to go to the city of Gurgan to visit its ruler, the Ziyarid Qabus ((r. 977 – 981)), a cultivated patron of writing, whose court attracted many distinguished poets and scholars. However, when Avicenna eventually arrived there, the ruler had been dead since the winter of 1013. Avicenna then went left for Dihistan, but returned to Gurgan after he became ill. There he met Abu 'Ubayd al-Juzjani (died 1070), who became his pupil and companion. Avicenna stayed briefly in Gurgan, reportedly serving Qabus' son and successor Manuchihr ((r. 1012 – 1031)) and resided in the house of a patron.

In Ray and Hamadan
In c. 1014, Avicenna went to the city of Ray, where he entered into the service of the Buyid amir (ruler) Majd al-Dawla ((r. 997 – 1029)) and his mother Sayyida Shirin, the de facto ruler of the realm. There he served as the physician at the court, treating Majd al-Dawla, who was suffering from Melancholia. Avicenna reportedly later served as the "business manager" of Sayyida in Qazvin and Hamadan, though details regarding this tenure are unclear. During his period, Avicenna finished his Canon of Medicine, and started writing his Book of Healing. In 1015, during Avicenna's stay in Hamadan, he participated in a public debate, as was custom for newly-arrived scholars in western Iran at that time. The purpose of the debate was to examining one's reputation against a prominent local resident. The person whom Avicenna debated against was Abu'l-Qasim al-Kirmani, a member of the school of philosophers of Baghdad.

The debate became heated, resulting in Avicenna accusing Abu'l-Qasim of lack of basic knowledge in logic, while Abu'l-Qasim accused Avicenna of impoliteness. After the debate, Avicenna sent a letter to the Baghdad Peripatetics, asking if Abu'l-Qasim's claim that he shared the same opinion as them was true. Abu'l-Qasim later retaliated by writing a letter to an unknown person, in which he made accusations so serious, that Avicenna wrote to a deputy of Majd al-Dawla, named Abu Sa'd, to investigate the matter. The accusation made towards Avicenna may have been the same as he had received earlier, in which he was accused by the people of Hamadan of copying the stylistic structures of the Quran in his Sermons on Divine Unity. The seriousness of this charge, in the words of the historian Peter Adamson, "cannot be underestimated in the larger Muslim culture."

Not long afterwards, Avicenna shifted his allegiance to the rising Buyid amir Shams al-Dawla (the younger brother of Majd al-Dawla), which Adamson suggests was due to Abu'l-Qasim also working under Sayyida Shirin. Avicenna had been called upon by Shams al-Dawla to treat him, but after the latters campaign in the same year against his former ally, the Annazid ruler Abu Shawk ((r. 1010 – 1046)), he forced Avicenna to become his vizier. Although Avicenna would sometimes clash with Shams al-Dawla's troops, he remained vizier until the latter died of colic in 1021. Avicenna was asked by Shams al-Dawla's son and successor Sama' al-Dawla ((r. 1021 – 1023)) stay as vizier, but instead went into hiding with his patron Abu Ghalib al-Attar, to wait for better opportunities to emerge. It was during this period that Avicenna was secretly in contact with Ala al-Dawla Muhammad ((r. 1008 – 1041)), the Kakuyid ruler of Isfahan and uncle of Sayyida Shirin.

During his stay at Attar's home that Avicenna completed his Book of Healing, writing fifty pages a day. The Buyid court in Hamadan, particularly the Kurdish vizier Taj al-Mulk, suspected Avicenna of correspondence with Ala al-Dawla, and as result had the house of Attar ransacked and Avicenna imprisoned in the fortress of Fardajan, outside Hamadan. Juzjani blames one of Avicenna's informers for his capture. Avicenna was imprisoned in four months, until Ala al-Dawla captured Hamadan, thus putting an end to Sama al-Dawla's reign.

In Isfahan
Avicenna was subsequently released, and went to Isfahan, where he was well-received by Ala al-Dawla. In the words of Juzjani, the Kakuyid ruler gave Avicenna "the respect and esteem which someone like him deserved." Adamson also says that Avicenna's service under Ala al-Dawla "proved to be the most stable period of his life." Avicenna served as the advisor, if not vizier of Ala al-Dawla, accompanying him in many of his military expeditions and travels. Avicenna dedicated two Persian works to him, a philosophical treatise named Danish-nama-yi Ala'i ("Book of Science for Ala"), and a medical treatise about the pulse. During the brief occupation of Isfahan by the Ghaznavids in January 1030, Avicenna and Ala al-Dawla relocated to the southwestern Iranian region of Khuzistan, where they stayed until the death of the Ghaznavid ruler Mahmud ((r. 998 – 1030)), which occurred two months later. It was seemingly when Avicenna returned to Isfahan that he started writing his Pointers and Reminders. In 1037, while Avicenna was accompanying Ala al-Dawla to a battle near Isfahan, he was hit by a severe colic, which he had been constantly suffering from throughout his life. He died shortly afterwards in Hamadan, where he was buried.