Khoy is located north of the province's capital and largest city Urmia, and 807 km north-west to Tehran. The region's economy is based on agriculture, particularly the production of fruit, grain, and timber. Khoy is nicknamed as the Sunflower city of Iran. At the 2006 census, the city had a population of 178,708, with an estimated 2012 population of 200,985. The city's inhabitants are predominantly Azerbaijanis and Azerbaijani is dominantly spoken in Khoy,[5][6] while nearly all inhabitants can also converse in Persian. The main religion is Shia Islam.[7][8] Occupied since Median times, it shares a long history as an important Christian centre.[9]