In fact, in medieval times the name ‘Azerbaijan’ was applied not to the area of present independent Azerbaijan but to the lands to the south of the Araxes river, now part of Iran. The lands to the north west of the Araxes were known as Albania; the lands to the north east, the heart of present-day post-Soviet Azerbaijan, were known as Sharvan (or Shirwan) and Derbend.