Tabriz and its bazaar were at their most prosperous in the 16th century, when the town became the capital city of the Safavid kingdom. The city lost its status as a capital in the 17th century, but its bazaar has remained important as a commercial and economic center.