In the end of the 12th century, Hanseatic League traders from Rostock moved into the city and gained major influence in the city. The Black Death came to Norway in 1349 and, like other cities in Europe, the city suffered greatly. The churches' earnings from their land also dropped so much that the Hanseatic traders dominated the city's foreign trade in the 15th century.