After their defeat in 1210, Western Xia attacked the Jin dynasty in response to their refusal to aid them against the Mongols. The following year, the Mongols joined Western Xia and began a 23-year-long campaign against Jin. In the same year Xiangzong's nephew Zunxu seized power in a coup and became Emperor Shenzong of Western Xia. Xiangzong died a month later.