Which ruler took Western Xia under their control?