These regular troops were supplemented throughout the country by the guerrilla actions of local militias which, in the case of Catalonia, ran to thousands of well-organised "miquelets", or "somatenes", who had already proved their worth in the Catalan revolt of 1640 and in the War of the Spanish Succession (1701–1714), while in Andalusia, they were more modest in number, and sometimes little more than brigands who were, in some cases, feared by French troops and the civilian population alike but which were nevertheless a constant source of harassment to the French army and its lines of communication, as were the numerous spontaneous popular uprisings. So much so, that by summer 1811, French commanders deployed 70,000 troops only to keep said lines open between Madrid and the border with France. A list drawn up in 1812 puts the figure of such irregular troops at 38,520 men, divided into 22 guerrilla bands.