 In 1725 and 1766 large fires destroyed most of the town, leveling parts of the old townhouse and the church next to it.The town overcame these setbacks and the textile industry continued to develop, among other ways by devising a way to weave cows' hair.In the 19th century a substantial textile and tapestry industry emerged, aided by a railway link to Amsterdam in 1874.