In 1633 the Polish-Ottoman War (1633-34) broke out. In June about 1000 Budjaks raided Podolia and returned to Moldavia with their loot where Koniecpolski defeated them and Khan Temir’s son-in-law was captured. In September the Turkish commander marched north with much of the Budjak horde under Khan Temir. In October there was a battle which the Poles won. In 1634 the Russo-Polish Smolensk War ended, which freed up Polish troops. The sultan had never been happy with this war which was mostly started by a local governor. Peace was made and the Turks promised to remove the Budjak horde. In the summer of 1634 khan Janibek assembled an army on the Dnieper to get this done, but the sultan changed his mind and ordered Janibek to attack Persia.