Input (grade 7): The attacking Mongols broke some dikes and flooded the ground behind the caliph's army, trapping it.
Output (grade 7): The attacking Mongols broke some dikes and flooded the ground behind the caliph's army, trapping them.