Tallinn was part of the Hanseatic League, a confederation of merchant guilds and their market towns. From about 1400 - 1800 it dominated trade along the Baltic coast and the North Sea. There were up to 200 member towns and cities. The Old Town in Tallinn is considered one of the best examples of Hanseatic architecture remaining. I have tried to show the various buildings that reflect this.
Tallin originally belonged to Denmark and eventually became part of Russia. It gained its independence in 1991.