Answer
The Battle of Șelimbăr was a battle between the Habsburgs and the pro-Polish forces of Andrew Báthory for control of Transylvania. The battle took place on 27 October 1599 at Șelimbăr, in the Principality of Transylvania, and ended with a Habsburg victory. The Habsburg victory ensured Habsburg control of Transylvania and prevented the pro-Polish forces from taking control of the region.