The dynasty, once on its last legs, has been rehabilitated, strengthened and fortified.