Passage: It obtained city rights in 1163 from Count Philip of Flanders. The Battle of Nieuwpoort, between the Dutch and the Spanish, happened here in 1600. The city was a Dunkirker base. Painter Victor Boucquet made two of the altar-pieces for the great church in the 17th century. The city was occupied by French forces for six years between 1757 and 1763, as part of the conditions of the Second Treaty of Versailles between France and Austria. A large waterworks infrastructure project called the Ganzepoot  was constructed in Nieuwpoort in the 19th century to drain the polders and channel water in and around the town and to the North Sea. During the Battle of the Yser, part of the First Battle of Ypres in World War I, Hendrik Geeraert opened the sluice gates on the mouth of the river Yser twice to flood the lower lying land, thus halting the German advance.
How many countries signed the Second Treaty of Versailles? How many years after the Battle of Nieuwpoort did French forces first begin occupying the city? How many years after the Battle of Nieuwpoort ocurred did the area obtain city rights from County Philip of Flanders? How many years after the city obtained their rights did the Battle of Nieuwpoort happen? In what year did the French begin occupying the city as part of the Second Treaty of Versailles? What happened to the city in 1757? What was Ganzepoot? Which happened first, the Battle of Nieuwpoort or the occupation of the city by French forces? Who was part of the treaty that allowed the French to occupy the city?