Input (grade 9): These occupiers were overthrown by the resurgence of the Pandyas and the Pallavas, who restored the traditional kingdoms.
Output (grade 6): These occupiers were overthrown by the Pandyas and the Pallavas, who restored the kingdoms.