How long ago did ancient china exists?

It existed approximately 3500 years ago,it is very long ago,but China is one of the longest empires that still exist in this generation.