The area was fought over by the French and the English, including several English occupations during the course of the Hundred Years War. In 1492 Henry VII laid siege to Boulogne before the conflict was ended by the Peace of Étaples. Boulogne was again occupied by the English from 1544 to 1550. In 1550, The Peace of Boulogne ended the war of England with Scotland and France. France bought back Boulogne for 400,000 crowns. A culture of smuggling was present in the city until 1659, when French gains in Flanders from the Treaty of the Pyrenees moved the border northwards.