Lower Town, the larger part of medieval Tallinn (or Reval as it was called back then), became a member of the Hanseatic League at the end of the 13th century. Goods from around the world came in through the port and were traded on the market on Town Hall Square. Reval operated autonomously from the rest of the Estonian territories right up until Tsarist Russian times. As in the rest of the country, the real movers and shakers in Reval society were the Baltic Germans, with Ethnic Estonians for most part second-class citizens. However, Estonian peasants from surrounding areas often escaped to the city, where they could eventually be considered free.
