The Azerbaijanis in Armenia (Azerbaijani: Ermənistan azərbaycanlıları or Qərbi azərbaycanlılar, lit. 'Western Azerbaijanis') were the largest ethnic minority, but have been virtually non-existent since 1988–1991 when most fled the country as a result of the Nagorno-Karabakh War and the ongoing conflict between Armenia and Azerbaijan. UNHCR estimates the current population of Azeris in Armenia to be somewhere between 30 and a few hundred persons, with majority of them living in rural areas and being members of mixed couples (mostly mixed marriages), as well as elderly and sick. Most of them are also reported to have changed their names and maintain a low profile to avoid discrimination.
Upon Seljuk conquests in tenth century, the mass of the Oghuz Turkic tribes who crossed the Amu Darya towards the west left the Iranian plateau, which remained Persian, and established themselves more to the west, in Armenia the Caucasus and Anatolia. Here they divided into Ottomans, who were Sunni and settled, and Turcomans who were nomads and in part Shiite (or, rather, Alevi), gradually becoming sedentary and assimilating with the local population.
After centuries of constant warfare on the Armenian Plateau, many Armenians chose to emigrate and settle elsewhere. Following Shah Abbas I's massive relocation of Armenians and Muslims in 1604-05, their numbers began to decrease gradually, eventually leading them to a minority among their Muslim neighbours.