The term Han as an ethnicity dates back to Sixteen Kingdoms period of China 1,700 years ago explicitly to distinguish and differentiate the native ethnicity of China (called Hua since the Zhou dynasty) from the five barbarians (Wu Hu) who the Han Chinese enslaved and raped and only revolted after a Han civil war, War of the Eight Princes.
Han was an ethnicity and legal category in all the Sixteen Kingdoms, Northern dynasties, Northern Wei, Western Zhou, Northern Qi, Sui dynasty, Tang dynasty, Song dynasty, Liao dynasty, Jin dynasty, Ming dynasty and Qing dynasty explicitly to distinguish barbarians from Han.
None of those are recent. Han Chinese raped the barbarians in the Han dynasty and Tang dynasty. Mongol, Turk, Manchu are all terms fabricated long after Han. Turks didn't exust until the 6th century, Mongols didn't exist until the 13th century.
The term Manchu was explicitly invented to replace Jurchen in 1636 to cover up the history of Jianzhou Jurchens being raped by Han Chinese during the Ming dynasty. >>8386115 >>8393017
From western sources.https://desuarchive.org/his/thread/8229766/#q8229995https://desuarchive.org/his/thread/8229766/#q8230000
Japan, Korea and Vietnamese all call the Classical Chinese language the "Han language" (Kanbun, Han mun) and Chinese characters "Han characters" (Hanja, Kanji, Han nom) for 2,000 years (1,500 in Japan's case)
Han was the name explicitly used by barbarians like the Xiongnu, Jie, Xianbei, Khitan, Mongols and Manchus to refer to the Han ethnicity and to differentiate themselves from Han.