The wars with Champa and the Mongols left ??i Vi?t fatigued and bankrupt. The Tr?n relatives was in turn overthrown by amongst its individual court officials, H??Quý Ly. H??Quý Ly compelled the last Tr?n emperor to abdicate and assumed the throne in 1400. He changed the state identify to ??i Ngu and moved the capital to Tây ?ô, Western Capital,