The Fangshan Line of the Beijing Subway (Chinese: 北京地铁房山线; pinyin: běijīng dìtiě fángshān xiàn) is a rapid transit line in western Beijing that runs from Yancundong in Fangshan District north and east to Dongguantounan in Fengtai District. The line is 31.8 km (19.8 mi). It is mainly elevated, including 10 elevated stations and 6 underground stations. It allows residents of Beijing's western suburbs to connect to the rest of the Beijing Subway network.