The Hunan–Guangxi railway or Xianggui railway (simplified Chinese: 湘桂铁路; traditional Chinese: 湘桂鐵路; pinyin: xiāngguì tiělù), is a mostly electrified railroad in southern China that connects Hunan province and the Guangxi Zhuang Autonomous Region. The shortform name of the line, Xianggui, is named after the Chinese short names of Hunan, Xiang and Guangxi, Gui. The line runs 1,013 km (629 mi) from Hengyang in Hunan to Friendship Pass on Guangxi's border with Vietnam. Major cities along route include Hengyang, Yongzhou, Guilin, Liuzhou, Nanning, Pingxiang, and Friendship Pass.