The alliance between the Cossacks and Tartars had been brokered by Chmielnicki, who understood that Cossacks, while having an excellent infantry, could not hope to match the Polish cavalry, the best in Europe.