The Khmers were defeated by the Chams 1177 - 1191 and they were on the run.