In 672, the Jinshin war occurs and Prince Ōama becomes the emperor. In his era, Japan starts to make a Chinese style law system (Ritsuryo). Also, the word Nippon which means "Japan" in Japanese, was started to be used in the era of Tenmu.