Almaliq (Uighur: ئالمالىق; Chinese: 阿力麻里; pinyin: Ālìmálǐ),[1] also spelled Armalec, Almalik,[2] Almalig,[2] Almaligh and Almarikh, was a medieval city in the Ili basin in present-day Huocheng County, Xinjiang, China along Kazakhstan border. A modern town named Alimali (阿力玛里) in Khorgas, adjacent to Huocheng, has no historical connections with the medieval town.