Person
Moctezuma II
?–1520 · Aztec king · Aztec Empire (Triple Alliance)

He was the Aztec king who welcomed the Spaniards and became a hostage.
More detail
Two sources checked
He became king of Tenochtitlan in 1502 and ruled when the Aztecs' power was at its widest. In November 1519 he welcomed Cortés into the city, and a few days later was taken hostage. In 1520 he died amid the growing confusion that followed a massacre by the Spanish side.