take confidence in the fact that England had been mostly driven from their territory and so they could now embark on an expansionist foreign policy. The invasion of Italy by Charles VIII in 1494 began 62 years of war with the Habsburgs (the Italian Wars). Foreign relations Wars Despite the beginnings of rapid demographic and economic recovery after the Black Death of the 14th century, the gains of the previous half-century were to be jeopardised by a further protracted series of conflicts, the Italian Wars (1494–1559), where French efforts to gain dominance ended in the increased power of the Habsburg Holy Roman Emperors of Germany. In 1445, the first steps were made towards fashioning a regular army out of the poorly disciplined mercenary bands that French kings traditionally relied on. The medieval division of society into "those who fought (nobility), those who prayed (clergy), and those who worked (everyone else)" still held strong and warfare was considered a domain of the nobles. Charles VIII marched into Italy with a core force consisting of noble horsemen and non-noble foot soldiers, but in time the role of the latter grew stronger so that by the middle of the 16th century, France had a standing army of 5000 cavalry and 30,000 infantry. The military was reorganized from a system of legions recruited by province (Norman legion, Gascon legion, etc.) to regiments, an arrangement which persisted into the next century. However, the nobility and troops were often disloyal to the king, if not outright rebellious, and it took another army reform by Louis XIV to finally transform the French army into an obedient force. Ludovico Sforza, the Duke of Milan, seeking an ally against the Republic of Venice, encouraged Charles VIII of France to invade Italy, using the Angevin claim to the throne of Naples, then under Aragonese control, as a pretext. When Ferdinand I of Naples died in 1494, Charles invaded the peninsula. For several months, French forces moved through Italy virtually unopposed, since the condottieri armies of the Italian city-states were unable to resist them. Their sack of Naples finally provoked a reaction, however, and the League of Venice was formed against them. Italian troops defeated the French at the Battle of Fornovo, forcing Charles to withdraw to France. Ludovico, having betrayed the French at Fornovo, retained his throne until 1499, when Charles's successor, Louis XII of France, invaded Lombardy and seized