In the 14th century, Rewal prospered as a trading town.

An excerpt from the article 27 facts about Tallinn

Most of the city's historic center was built during this time. As an attractive city in many respects, Rewal has become a target for the political games of its large neighbors.

In 1561, it passed into Swedish hands, and in 1710 it came under the rule of Tsar Peter I of Russia. Then the name of the city changed to Rewel.

Revel remained in Russian hands until 1918, when, after the declaration of independence of the Republic of Estonia, the capital was renamed Tallinn.