Biarritz has long made its living from the sea: from the 12th century onwards, it was a whaling town. In the 18th century, doctors claimed that the ocean at Biarritz had therapeutic properties, inspiring patients to make pilgrimages to the beach for alleged cures for their ailments. After the 7th century, Biarritz had many confrontations with Bayonne, with the Kingdom of England – Lapurdi was under its control – and with the Bishop of Bayonne. Almost all of the disputes were about whale hunting. In 1284, the town's right to hunt whales was reinstated by the authorities of Lapurdi and the Duchy of Aquitaine.