Khoda Afarin County (شهرستان خداآفرین) is a county in East Azerbaijan Province in Iran. The capital of the county is Khomarlu. At the 2006 census, the county's population was 34,461, in 7,492 families. The county is subdivided into three districts: the Central District, Minjavan District, and Garamduz District. The county has one city: Khomarlu. Until 2011, The county was a district of Kaleybar county. Before the Islamic Revolution, Khomarlu was merely a village which was distinguished ...see more from other villages for housing the headquarters of Royal Gendarmery. The notary office was located in Abbasabad village and operated by a cleric, who also acted as the spiritual authority of the whole district.