The French King wanted revenge for the defeat in Battle of the Golden Spurs in 1302, after which the Flemish had retaken Douai and Lille. By the beginning of 1304, the French king was ready to attack the Flemish rebels. While the French army, led by the king himself and Foulques du Merle, marched north to attack William of Julich's force, the French navy sailed to Zeeland to unite with the army of Hainault and Holland. It was this combined northern force in Zeeland which struck the first blow on 10–11 August 1304 when it soundly defeated Guy of Namur's army and navy at the Battle of Zierikzee; Guy was captured and the Flemish conquest of Holland was halted. Philip of Chieti, son of Guy, Count of Flanders, had gathered a strong Flemish army to stop the French invasion and taken up positions on the Pévèle hill.
The battle
After a day of fighting the outcome was undecided and negotiations were opened between 17:00 and 18:30. When a French force under Guy de Saint-Pol tried to surround the Flemish, he was pushed back. Now the furious Flemish decided to launch a frontal attack, and surprised the French, who thought the battle was over for the day. The Flemish had reached the royal tent, attacking King Philip IV of France. He only escaped because some knights around him covered his flight, paying for this act with their lives. Assisted with mounting his horse, Philip counterattacked, but had his horse killed under him. By then William of Jülich was killed in a counterattack that Philip had managed to launch. As only the Flemish right wing had attacked, and the left wing under John I, Marquis of Namur was already leaving the battlefield, the Flemish right wing also withdrew. The French chose not to pursue the Flemish. During the Flemish attack on Philip, the oriflamme, a hugely symbolic and significant flag, was lost.
Aftermath
Both sides claimed victory: but the French remained in possession of the battlefield and forced a Flemish retreat. The French also conquered Douai and Orchies and burned down Seclin. After further minor battles, eventually the Treaty of Athis-sur-Orge was signed on 23 June 1305 which recognized Flemish independence, at the cost of the cities of Lille, Douai and Béthune, which were transferred to France, and the paying of exorbitant fines to King Philip IV.