According to the Jamadevivamsa, the city of Hariphunchai (modern Lamphun) was founded by the hermits; Camadevi, a princess of the Lavo Kingdom, was invited to rule the city in around 700. However, this date is considered too early for the foundation of Hariphunchai as Camadevi brought no dharmachakras to the north.[clarification needed] Hariphunchai may be a later (about the 10th century) offshoot of the Lavo Kingdom or instead related to the Thaton Kingdom.