What was Anhui called in ancient times?

Anhui was called Nanzhili before the Qing Dynasty.

In the Ming Dynasty, it belonged to Nanzhili, and Anhui belonged to Luzhou (Hefei), Fengyang, Anqing, Taiping, Chizhou, Ningguo, Huizhou, Xuzhou, Chuzhou, Hezhou and Guangde.

In the early Qing Dynasty, Nanming was destroyed, Nanjing was abolished, and jiangnan province was established in the original jurisdiction of Nanjing. In the sixth year of Kangxi (1667), jiangnan province was divided into Jiangsu (including Shanghai) and Anhui provinces, and Anhui province (the governor's office was in Anqing) governed Luzhou (now Hefei), Anqing, Huizhou, Ningguo, Chizhou, Taiping, Fengyang, Xuzhou, Guangde, Hezhou and Chuzhou. This is the beginning of the establishment of Anhui province, named after the initials of Anqing and Huizhou, referred to as "Anhui".