The wars with Champa plus the Mongols remaining ??i Vi?t exhausted and bankrupt. The Tr?n family members was in turn overthrown by considered one of its own courtroom officers, H??Quý Ly. H??Quý Ly compelled the last Tr?n emperor to abdicate and assumed the throne in 1400. He transformed the state name to ??i Ngu and moved the capital to Tây ?ô