It was intended to rival the Hanseatic city of Rewal on the southern coast of the Gulf of Finland, now known as Tallinn. As a wooden city, Helsinki was plagued by frequent fires in the second half of the 17th century. It had little significance, with a population of about 1700 at the time. The city’s position began to change in the 18th century when it was provided with greater maritime defense.