Oracle bone script developed into a sophisticated writing system in Shang Dynasty of China more than 3000 years ago. The systematic scientific dating of oracle bones had not been previously reported. Here we present radiocarbon (14C) dates measured from the sequential samples of oracle bones that pertain to the Shang kings. The results indicate that King Wu Ding (who is called Wu Ting in some literature) reigned during 1254 BC to 1197 BC, and the Shang Dynasty terminated around 1041 BC. It also points that the Li group in the sequence of oracle bones is most probably related to the time of King Wu Ding and Zu Geng.