Input (grade 3): Swat was part of the Mughal Empire ruled by local rulers known as Akhwand.
Output (grade 4): Swat was part of the Mughal Empire ruled by local rulers known as Akhoond or Akhwand.