Before the Wars of the Three Kingdoms in 1644, there was no standing army in the Kingdom of Scotland. In the Early Middle Ages war in Scotland was characterised by the use of small war-bands of household troops often engaging in raids and low level warfare. By the High Middle Ages, the kings of Scotland could command forces of tens of thousands of men for short periods as part of the "common army", mainly of poorly armoured spear and bowmen. After the "Davidian Revolution" of the 12th century, which introduced elements of feudalism to Scotland, these forces were augmented by small numbers of mounted and heavily armoured knights. These armies rarely managed to stand up to the usually larger and more professional armies produced by England, but they were used to good effect by Robert I of Scotland at Battle of Bannockburn in 1314 to secure Scottish independence. After the Wars of Scottish Independence, the Auld Alliance between Scotland and France played a large part in the country's military activities, especially during the Hundred Years' War. In the Late Middle Ages under the Stewart kings forces were further augmented by specialist troops, particularly men-at-arms and archers, hired by bonds of "manrent", similar to English indentures of the same period. Archers became much sought after as mercenaries in French armies of the 15th century in order to help counter the English superiority in this arm, becoming a major element of the French royal guards as the Garde Écossaise. The Stewarts also adopted major innovations in continental warfare, such as longer pikes and the extensive use of artillery. However, in the early 16th century one of the best armed and largest Scottish armies ever assembled still met with defeat at the hands of an English army at the Battle of Flodden in 1513, which saw the destruction of a large number of ordinary troops, a large section of the nobility and the king James IV.