|House of Giray|
|Parent house||Borjigin Dynasty|
|Founded||15th century - Hac? I Giray|
The House of Giray (Crimean Tatar: Geraylar, , Ottoman Turkish: , romanized: Âl-i Cengiz, lit. 'Genghisids'), also Girays, were the Genghisid/Turkic dynasty that reigned in the Khanate of Crimea from its formation in 1427 until its downfall in 1783. The dynasty also supplied several khans of Kazan and Astrakhan between 1521 and 1550. Apart from the royal Girays, there was also a lateral branch, the Choban Girays (Çoban Geraylar). Before reaching the age of majority, young Girays were brought up in one of the Circassian tribes, where they were instructed in the arts of war. The Giray khans were elected by other Crimean Tatar dynasts, called myrzas (m?rzalar). They also elected an heir apparent, called the qalgha sultan (qal?a sultan). In later centuries, the Ottoman Sultan obtained the right of installing and deposing the khans at his will.
According to some scholars, the Girays were regarded[by whom?] as the second family of the Ottoman Empire after the House of Ottoman: "If Rome and Byzantium represented two of the three international traditions of imperial legitimacy, the blood of Genghis Khan was the third... If ever the Ottomans became extinct, it was understood that the Genghisid Girays would succeed them" 
During the 15th and early 16th centuries, the Giray Khan was second to the Ottoman Emperor - and thus superior to the Grand Vizier - in the Ottoman protocol. After the disobedience and 1584 removal of Mehmed II Giray, the Sultan demoted the Crimean Khan to the level of Grand Vizier. The Giray Khans were also sovereigns of their own realm. They could mint coins, make law by decree, and had their own tughras.
The Crimean Khanate made alliances with the Polish-Lithuanian Commonwealth and with the Zaporizhian Sich. The assistance of ?slâm III Giray during the Khmelnytsky Uprising in 1648 contributed greatly to the initial momentum of military successes for the Cossacks. The relationship with the Polish-Lithuanian Commonwealth was also strong - the dynasty of Girays would seek sanctuary in Lithuania in the 15th century before establishing themselves on the Crimean peninsula.
Other dynasts were permitted by the Russian authorities to reside in their Bakhchisaray palace. Selim III's young son, Qatt? Giray, was converted by missionaries to Protestantism and married a Scottish heiress, Anne Neilson.