Input (grade 13): The city area of Dhaka was ruled by the Buddhist kingdom of Kamarupa and the Pala Empire before passing to the control of the Hindu Sena dynasty in the 9th century.
Output (grade 10): Dhaka has a very old history, the city area of Dhaka was ruled by the Buddhist and Hindu kingdoms century.