Selim III became Sultan of the Ottoman Empire and Caliph of Islam.

Selim III (Ottoman Turkish: سليم ثالث, romanized: Selim-i sâlis; Turkish: III. Selim; 24 December 1761 – 28 July 1808) was the Sultan of the Ottoman Empire from 1789 to 1807. Regarded as an enlightened ruler, the Janissaries eventually deposed and imprisoned him, and placed his cousin Mustafa on the throne as Mustafa IV. Selim was subsequently killed by a group of assassins.

Selim III was the son of Sultan Mustafa III and his wife Mihrişah Sultan. His mother Mihrişah Sultan originated in Georgia, and when she became the Valide Sultan, she participated in reforming the government schools and establishing political corporations. His father Ottoman Sultan Mustafa III was very well educated and believed in the necessity of reforms. Mustafa III attempted to create a powerful army during the peacetime with professional, well-educated soldiers. This was primarily motivated by his fear of a Russian invasion. During the Russo-Turkish War, he fell ill and died of a heart attack in 1774. Sultan Mustafa was aware of the fact that a military reform was necessary. He declared new military regulations and opened maritime and artillery academies.Sultan Mustafa was very influenced by mysticism. Oracles predicted his son Selim would be a world-conqueror, so he organized a joyous feast lasting seven days. Selim was very well educated in the palace. Sultan Mustafa III bequeathed his son as his successor; however, Selim's uncle Abdul Hamid I ascended the throne after Mustafa's death. Sultan Abdul Hamid I took care of Selim and put great emphasis on his education.

After Abdul Hamid's death, Selim succeeded him on 7 April 1789, not yet 27 years old. Sultan Selim III was very fond of literature and calligraphy; many of his works were put on the walls of mosques and convents. He wrote many poems, especially about Crimea's occupation by Russia. He spoke Arabic, Persian, Turkish and Old Bulgarian fluently. Selim III showed great importance to patriotism and religion. He demonstrated his skills in poetry, music and was fond of fine arts and the army.