During the reign of Selâmet I Giray (1608–10) Mubakek's widow Dur-Bike arrived in Crimea with her sons Janibek and Devlet.
In 1609 Selyamet's kalga and nureddin (the future khan Mehmed III and his brother Shahin Giray) conspired against him and were forced to flee.
When he died the brothers Mehmed and Shahin Giray invaded and made themselves khan and kalga.
During the Time of Troubles many Zaporozhian Cossacks had been drawn northward, but when things settled down they turned southward in search of loot.
Each year some 30 to 100 Cossack boats left the mouth of the Dnieper to raid the Crimean and Turkish coasts.
[2]) Around 1620 king Sigismund III Vasa tried to control the Zaporozhians by paying them (Registered Cossacks), but there was not enough money for this to work.
At this time the Budjak Horde under Khan Temir was unusually active in raiding Poland.
Crossing north of the Caucasus he became involved with his son-in-law, Ish-Terek, Bey of the Great Nogai Horde.
When he then tried to cross the passes of Dagestan to Persia he found them blocked by the Nogais, Kabardians and Kumyks whom he had offended.
The following year the troops were transported by ship across the Black Sea from Kaffa to Trabzon and then marched east across the Trans-Causasus.
The begs of the Shirin and Mansur clans were killed, the khan's advisor Bek-Ata was captured and the Crimeans lost at least 8000 men.
In the spring of 1619 he returned to Crimea In 1615 Janibek led a very successful raid into Podolia and Galicia.
[4] The Sultan planned a joint Turkish-Crimean-Budjak attack to force the Poles to rein in the Zaporozhians.
The sides chose not to fight and made a compromise in which they agreed to limit the raids of their subjects (Peace of Busza).
Encouraged by this success, the Turks began the Battle of Khotyn (1621) in September 1621, aided by Janibek in person.
The fighting lasted four weeks and was not decisive, but the Turks lost so many men that it discouraged further advance.
This confusion and Janibek's absence led Shahin Giray to attempt an invasion of Crimea.
When things settled down Janibek retained precarious Turkish support and returned to Crimea (spring 1619).
In the 1621 Khotyn campaign Janibek was reluctant to fight a pitched battle and wanted to spread his men out to loot.
The Turks told Mehmed to attack Poland, planning to land Janibek in his absence.
There was plague, drought and famine and for the last few months groups of Crimeans and Nogais had been killing and looting each other.
In the fall of 1629 kalga Devlet Giray and Khan Temir attacked Galicia in revenge for Polish support of Mehmed.
Salman-Shah-Mirza led an officially unauthorized raid on the upper Don and returned with much loot, which also drew Russian troops from the Polish border.
In the summer of 1633 Janibek's 18-year-old son and nureddin Mubarak Giray led the entire Crimean army north.
At this time the sultan ordered Janibek to join the war against Poland but he refused because his army was in Russia.
[6] As part of the settlement of the Polish-Ottoman war the sultan decided to move Khan Temir away from the Polish border.
In the spring of 1635 Janibek and his army were on the Kuban River moving toward Persia when a Turkish ambassador arrived with a decree removing him.