The Battle of Samobor (; Slovenian: Celjsko-Ogrska Vojna) was fought on March 1, 1441, between the forces of Ulrich II of Celje and Stjepan BaniÃÂ near the town of Samobor, in what was then the Kingdom of Slavonia within the Kingdom of Hungary.
In a struggle for succession to the Crown of St. Stephen, BaniÃÂ was allied to Vladislaus III of Varna, while Ulrich II supported Ladislas the Posthumous's eventual right to the throne.
Ulrich II's forces were commanded by the CelianâÂÂCzech mercenary Jan Vitovec. They were ultimately victorious, taking Baniàprisoner after the battle. However, the infant Ladislas' mother, Elisabeth of Bohemia, died the following year, forcing Ulrich II to recognize Vladislaus III as king as well as release all prisoners. Vladislaus III died soon after in the Battle of Varna against the Ottoman Empire.
On March 1, 2006, the 565th anniversary of the battle, the city of Samobor hosted a large reenactment of the event.