Yan'an (Chinese: 延安; pinyin: Yán'ān; Wade-Giles: Yen-an), is a Prefecture-level city in the Shanbei region of Shaanxi province in China, administering several counties, including Zhidan County, formerly Bao'an, which served as the Chinese communist capital before the city of Yan'an proper took that role. Yan'an was near the endpoint of the Long March, and became the center of the Chinese communist revolution from 1937 to 1948. Chinese communists celebrate Yan'an as the birthplace of the revolution.
In medieval China, Yan'an was once called Yanzhou, a location of strategic military importance for the Chinese empire and Tanguts of the Western Xia Dynasty. It was once successfully defended by the Song Dynasty (960-1279) era Chinese scientist, statesman, and general Shen Kuo (1031-1095 AD). However, it was eventually taken over by the Tanguts in 1082 once Shen's defensive victories were marginalized and sacrificed by the new Chancellor Cai Que (who handed the city over to the Tanguts as terms of a peace treaty). Yan'an and the whole of Shaanxi was taken over by the Mongols in the late 1220s, only after their leader Genghis Khan had died during the siege of the Western Xia capital in 1227. The city was maintained by the successive Chinese Ming Dynasty (1368-1644), as well as the Manchu Qing Dynasty (1644-1911). After the fall of the Qing Dynasty the city fell into the hands of the newly-created Republic of China.