Dragoons were intended to travel on horseback but fight on foot and were armed with carbines and pistols. Even orthodox cavalry carried firearms, especially the pistol, which they used in a tactic known as the caracole. Cavalry charges using swords on undisciplined infantry could still be quite decisive, but a frontal charge against well-ordered musketeers and pikemen was all but futile. Cavalry units, from the 16th century on, were more likely to charge other cavalry on the flanks of an infantry formation and try to work their way behind the enemy infantry. When they achieved this and pursued a fleeing enemy, heavy cavalry could still destroy an enemy army. Only a specialised cavalry units like winged hussars armed with long lances could break pikemen lines, but this was rather an exception. After wars with Polish-Lithuanian Commonwealth, when he fought often against superior mounted troops, King Gustavus II Adolphus started using successfully cavalry melee charge more often instead of caracole like during Battle of Breitenfeld. The cavalry charge remained an important part of battle tactics for the rest of 17th century and until the modern area, and its shock value could be decisive when implemented properly like during Battle of Vienna (1683).