Tabriz was established as his capital by Shah Ismail, the founder of the 16th Century Safavid dynasty, although his successors moved the capital gradually further south. Its importance lay in its proximity to Turkey and Iraq, two great traditional enemies of Iran.