Complex sentence: Ayya was brought before King Thirunal, who asked him several questions.
Split into simpler sentences: Ayya was brought before the King Thirunal. The King asked him several questions.