The communist People's Republic of China, officially established in 1949, does not represent the history.
There were many nations and races which had occupied the land in the long history.
People's Republic of China fought against Republic of China, officially established in 1912, and defeated them.
Before that UK, Russia, European countries and Japan had occupied and/or governed a piece of their land.
Prior government Qing is different race country, so is prior Ming another different race country defeated by Qing.
Taiwan has its own race and history but after WW2, Chinese, Republic of China defeated by the PRC, came from mainland to this island and occupied Taiwan.
So if you say PRC has 3000 years of history it's same as saying EU has 3000 years of history, USA has 3000 years of history.
No.
Different people, different race, different culture, different language, different government, but same land.
So don't be so naive and romantic.
Don't say China has 3000 years of history.