The Longyan dialect or Longyanese is a variety of Hokkien spoken in the urban city area of Eastern Longyan in Fujian Province, while Hakka is spoken in rural villages of Western Longyan. The Longyan Min people had settled in the region from Southern Fujian as early as the Tang dynasty (618–907). Due to its close proximity to rural Hakka villages, Longyan Min has some influence from Hakka albeit to a limited extent. The Longyan dialect has a limited degree of intelligibility with other Southern Min varieties. Today, Longyanese is predominantly spoken in Longyan's urban district Xinluo District while Zhangzhou Minnan is spoken in Zhangping City excluding Chishui and Shuangyang towns where Longyan Minnan is spoken. Hakka on the other hand is spoken in the non-urban rest of the rural areas of Longyan prefecture: Changting County, Liancheng County, Shanghang County, Wuping County, and Yongding District.