Majar or Macar was a medieval city of Golden Horde in 13th-14th centuries. It once played a major role in the trade between Idel-Ural, Caucasus and the Black Sea region. In 1310–1311 the city minted its own money. In 1395 it was sacked by troops of Timur.
The town was visited by Ibn Battuta in around 1332: "I then set out for the city of al-Māchar, a large town, one of the finest of the cities of the Turks, on a great river, and possessed of gardens and fruits in abundance."
An unknown Khazar city may have been located there, dating back to the 2nd century CE.