Alinja (also known as "Alıncak"; Azerbaijani: Əlincə; Armenian: Երնջակ, romanized: Yernjak) is a village and municipality in the Julfa District of Nakhchivan, Azerbaijan.
[1] Alinja is mentioned in historical records for the first time in the seventh century atlas, the Ashkharhatsuyts, commonly attributed to Anania Shirakatsi, under its original Armenian name, Yernjak.
[2][3] The ruins of the medieval Yernjak (or Ernjak) fortress, which dates to the seventh century, are located on a crag overlooking Alinja village.
[4] A separate Armenian tradition states that the province was named after Lady Yernjik, a member of the royal family of the Syunik' princes.
[2] The Armenian historian Stepanos Orbelian noted its formidable position, describing it as the "impossible to penetrable Yernjak" (անհնարին ամուրն Երնջակ).