 
 <prompt> "The period of dynasties wey last for over 6 centuries and include Ratbelshahan start when? Given di last question, write one context wey contain di answer. E fit be 1 - 20 sentences. Context:" <response>: The Kabul Shahi dynasties bin rule the Kabul Valley and Gandhara (wey be modern-day Pakistan and Afghanistan) from the time wey the Kushan Empire begin fall for the 3rd century reach early 9th century. The Shahis dey split into two times: the Buddhist Shahis and the Hindu Shahis, with the change-over wey dem think say happen around 870. The kingdom bin dey known as the Kabul Shahan or Ratbelshahan from 565-670, when the capitals dey for Kapisa and Kabul, and later Udabhandapura, wey dem also sabi as Hund for the new capital. 