The history of Beijing or Peking can be traced back 3,000 years,when it was the capital of the ancient State of Yan.