As Srivijaya declined in the 14th century, the Malay peninsula was carved up among Cambodia, Thailand, and the Javanese Hindu empire of Majapahit.
Srivijaya declined in the 14th century because the people moved away.