In 1224, he instated his consort Lady Tushan (徒單氏) as his empress consort. During his reign, Emperor Aizong tried to revive the Jin dynasty, which was on the verge of collapse due to his predecessors' policies. He ended the wars against the Southern Song dynasty, canceled the Treaty of Shaoxing free of obligation, reconciled with the Jin dynasty's former ally Western Xia, instituted internal reforms in his administration, eliminated corrupt and incompetent officials, and promoted military generals who resisted the Mongol invasion and recovered lost territories from the Mongols. However, the Mongol Empire had become a formidable power by then, and in 1227 it completely conquered Western Xia and concentrated its attacks on the Jin dynasty.