Attacks by the Thai and Cham ( from present-day Vietnam ) weakened the empire , ushering in a long period of decline .