Selim I Giray[n 1] was four times Khan of the Crimean Khanate in the period from 1671 to 1704.
The main events of the period were the continuing conflicts in Ukraine, the Russian capture of Azov and the Great Turkish War during which the Turks were pushed back from Vienna in 1683 to about the line of Belgrade.
After the death of Genghis Khan (1227) the empire was partitioned and the part in East Europe and Northwest Asia was named Golden Horde.
That region which was also called Desht-i Qipchaq was the home of Kypchak Turks and the khanate was Turkified.
However, after partitioning, the parts of the khanate were no longer the major powers in the East Europe and in 1478 after an Ottoman campaign to Cremea, the Crimean Khanate had to accept the suzerainty of the Ottoman Empire.
He captured many prisoners in Pokutia and Volhynia but was forced to abandon them by Jan Sobieski.
When the Nogais near Akkerman revolted against the Porte Selim forced them to move to Crimea, but they drifted back.
The Russians barely won the siege, Selim received part of the blame and was removed.
Both failed due to supply problems, but they kept Crimean troops away from the main fighting in the west.
The next khan, Safa Giray of Crimea, was replaced by Selim at Crimean request.
Saadet failed the Turks militarily and Safa was accused of drunkenness, among other things, His kalga was his son Devlet.
Following the Azov campaigns the Cossacks built forts near the mouth of the Don and Crimeans raided toward Lemburg (1697).
During this time Selim suffered from gout and moved to various places near Istanbul in hope of a cure.
Devlet was removed and replaced by his father (fourth reign) because of conflicts with his brothers and because of his provocative hostility to Russia.
He died in Bahçesaray, Crimea and was buried in the tomb of the mosque named after him (22 July 1704).
His non-royal sons were Azamat, Adil, Mukhammed, Sakhbez( ru:Шахбез Герай), Maksud, Sahib and Safa.
In this period Istanbul regularly imposed and replaced Crimean rulers.
In 1713 Qaplan (second reign) was restored because Devlet mishanded the Swedish king after the battle of Poltava.