Evidence was soon given of the importance of this new nation, when it became forced to take up arms against enemies still more redoubtable than the counts. In 1301, the Flemings, who had abandoned their own sovereign to attach themselves to Philip the Fair, king of France, began to repent of their newly-formed allegiance, and to be weary of the master they had chosen. Two citizens of Bruges, Peter de Koning, a draper, and John Breydel, a butcher, put themselves at the head of their fellow-townsmen, and completely dislodged the French troops who garrisoned it. The following year the militia of Bruges and the immediate neighborhood sustained alone, at the battle of Courtrai, the shock of one of the finest armies that France ever sent into the field. Victory soon declared for the gallant men of Bruges; upward of three thousand of the French chivalry, besides common soldiers, were left dead on the field. In 1304, after a long contested battle, the Flemings forced the king of France to release their count, whom he had held prisoner. "I believe it rains Flemings!" said Philip, astonished to see them crowd on him from all sides of the field. But this multitude of warriors, always ready to meet the foe, were provided for the most part by the towns. In the seigniorial system a village hardly furnished more than four or five men, and these only on important occasions; but in that of the towns every citizen was enrolled as a soldier to defend the country at all times.
The same system established in Brabant forced the duke of that province to sanction and guarantee the popular privileges, and the superiority of the people over the nobility. Such was the result of the famous contract concluded in 1312 at Cortenbergh, by which the duke created a legislative and judicial assembly to meet every twenty-one days for the, provincial business; and to consist of fourteen deputies, of whom only four were to be nobles, and ten were chosen from the people. The duke was bound by this act to hold himself in obedience to the legislative decisions of the council, and renounced all right of levying arbitrary taxes or duties on the state. Thus were the local privileges of the people by degrees secured and ratified; but the various towns, making common cause for general liberty, became strictly united together, and progressively extended their influence and power. The confederation between Flanders and Brabant was soon consolidated. The burghers of Bruges, who had taken the lead in the grand national union, and had been the foremost to expel the foreign force, took umbrage in 1323 at an arbitrary measure of their count, Louis (called of Cressy by posthumous nomination, from his having been killed at that celebrated fight), by which he ceded to the count of Namur, his great-uncle, the port of Ecluse, and authorized him to levy duties there in the style of the feudal lords of the high country. It was but the affair of a day to the intrepid citizens to attack the fortress of Ecluse, carry it by assault, and take prisoner the old count of Namur. They destroyed in a short time almost all the strong castles of the nobles throughout the province; and having been joined by all the towns of western Flanders, they finally made prisoners of Count Louis himself, with almost the whole of the nobility, who had taken refuge with him in the town of Courtrai. But Ghent, actuated by the jealousy which at all times existed between it and Bruges, stood aloof at this crisis. The latter town was obliged to come to a compromise with the count, who soon afterward, on a new quarrel breaking out, and supported by the king of France, almost annihilated his sturdy opponents at the battle of Cassel, where the Flemish infantry, commanded by Nicholas Zannekin and others, were literally cut to pieces by the French knights and men-at-arms.
This check proved the absolute necessity of union among the rival cities. Ten years after the battle of Cassel, Ghent set the example of general opposition; this example was promptly followed, and the chief towns flew to arms. The celebrated James d'Artaveldt, commonly called the brewer of Ghent, put himself at the head of this formidable insurrection. He was a man of a distinguished family, who had himself enrolled among the guild of brewers, to entitle him to occupy a place in the corporation of Ghent, which he soon succeeded in managing and leading at his pleasure. The tyranny of the count, and the French party which supported him, became so intolerable to Artaveldt, that he resolved to assail them at all hazards, unappalled by the fate of his father-in-law, Sohier de Courtrai, who lost his head for a similar attempt, and notwithstanding the hitherto devoted fidelity of his native city to the count. One only object seemed insurmountable. The Flemings had sworn allegiance to the crown of France; and they revolted at the idea of perjury, even from an extorted oath. But to overcome their scruples, Artaveldt proposed to acknowledge the claim of Edward III. of England to the French crown. The Flemings readily acceded to this arrangement; quickly overwhelmed Count Louis of Cressy and his French partisans; and then joined, with an army of sixty thousand men, the English monarch, who had landed at Antwerp. These numerous auxiliaries rendered Edward's army irresistible; and soon afterward the French and English fleets, both of formidable power, but the latter of inferior force, met near Sluys, and engaged in a battle meant to be decisive of the war: victory remained doubtful during an entire day of fighting, until a Flemish squadron, hastening to the aid of the English, fixed the fate of the combat by the utter defeat of the enemy.
A truce between the two kings did not deprive Artaveldt of his well-earned authority. He was invested with the title of ruward, or conservator of the peace, of Flanders, and governed the whole province with almost sovereign sway. It was said that King Edward used familiarly to call him "his dear gossip"; and it is certain that there was not a feudal lord of the time whose power was not eclipsed by this leader of the people. One of the principal motives which cemented the attachment of the Flemings to Artaveldt was the advantage obtained through his influence with Edward for facilitating the trade with England, whence they procured the chief supply of wool for their manufactories. Edward promised them seventy thousand sacks as the reward of their alliance. But though greatly influenced by the stimulus of general interest, the Flemings loved their domestic liberty better than English wool; and when they found that their ruward degenerated from a firm patriot into the partisan of a foreign prince, they became disgusted with him altogether; and he perished in 1345, in a tumult raised against him by those by whom he had been so lately idolized. The Flemings held firm, nevertheless, in their alliance with England, only regulating the connection by a steady principle of national independence.
Edward knew well how to conciliate and manage these faithful and important auxiliaries during all his continental wars. A Flemish army covered the siege of Calais in 1348; and, under the command of Giles de Rypergherste, a mere weaver of Ghent, they beat the dauphin of France in a pitched battle. But Calais once taken, and a truce concluded, the English king abandoned his allies. These, left wholly to their own resources, forced the French and the heir of their count, young Louis de Male, to recognize their right to self-government according to their ancient privileges, and of not being forced to give aid to France in any war against England. Flanders may therefore be pronounced as forming, at this epoch, both in right and fact, a truly independent principality.
But such struggles as these left a deep and immovable sentiment of hatred in the minds of the vanquished. Louis de Male longed for the re-establishment and extension of his authority; and had the art to gain over to his views not only all the nobles, but many of the most influential guilds or trades. Ghent, which long resisted his attempts, was at length reduced by famine; and the count projected the ruin, or at least the total subjection, of this turbulent town. A son of Artaveldt started forth at this juncture, when the popular cause seemed lost, and joining with his fellow-citizens, John Lyons and Peter du Bois, he led seven thousand resolute burghers against forty thousand feudal vassals. He completely defeated the count, and took the town of Bruges, where Louis de Male only obtained safety by hiding himself under the bed of an old woman who gave him shelter. Thus once more feudality was defeated in a fresh struggle with civic freedom.
The consequences of this event were immense. They reached to the very heart of France, where the people bore in great discontent the feudal yoke; and Froissart declares that the success of the people of Gheut had nearly overthrown the superiority of the nobility over the people in France. But the king, Charles VI., excited by his uncle, Philip the Bold, duke of Burgundy, took arms in support of the defeated count, and marched with a powerful army against the rebellious burghers. Though defeated in four successive combats, in the latter of which, that of Roosbeke, Artaveldt was killed, the Flemings would not submit to their imperious count, who used every persuasion with Charles to continue his assistance for the punishment of these refractory subjects. But the duke of Burgundy was aware that a too great perseverance would end, either in driving the people to despair and the possible defeat of the French, or the entire conquest of the country and its junction to the crown of France. He, being son-in-law to Louis de Male, and consequently aspiring to the inheritance of Flanders, saw with a keen glance the advantage of a present compromise. On the death of Louis, who is stated to have been murdered by Philip's brother, the duke of Berri, be concluded a peace with the rebel burghers, and entered at once upon the sovereignty of the country.