The history of Champa begins in prehistory with the migration of the ancestors of the Cham people to mainland Southeast Asia and the founding of their Indianized maritime kingdom based in what is now central Vietnam in the early centuries AD, and ends when the final vestiges of the kingdom were annexed and absorbed by Vietnam in 1832.