between a Swedish army under Adam Ludwig Lewenhaupt and a combined Polish/Russian force under Great Hetman Michał Serwacy Wiśniowiecki at the town of Jēkabpils (German: Jakobstadt) in the Duchy of Courland and Semigallia.
Encouraged by the initial successes of the Swedes, Sapieha's son advanced with his Lithuanian contingent on the Russians.
The sun was turning and it was facing the Russians, obstructing their sight of the enemy, and it was not possible for them to know where and with what force they were attacking the Swedes.
Lewenhaupt managed with an iron fist to regain control of his troops and ordered a simultaneous salvo of all battalions on the Russian battle line.
The remaining Russian troops retreated to their camp where they formed a circle with the food chariots, so that they could easily repel the cavalry attack and inflict considerable losses on the Swedish horsemen.