The Battle of Smolenice (Hungarian: Szomolányi csata, German: Schlacht bei Smolenitz, Slovak: Bitka pri Smoleniciach) was a battle between the Kuruc (a group of Hungarian peasants and irregular warriors), and the forces of the Habsburg Empire, soldiers of the Holy Roman Empire and auxiliaries from Denmark. The battle occurred on 28 May 1704 at Smolenice in Upper Hungary (present day Slovakia), where the Kuruc army routed the Habsburg forces, capturing the Austrian commander. For a short time, the rebels threatened the safety of Vienna, marauding through a number of villages in Lower Austria, Marchfeld, and Moravia.