The critical situation of the Trần dynasty began to change after their victory at the Battle of Hàm Tử in April 1285, where troops commanded by Trần Nhật Duật, Prince Chiêu Thành, Trần Quốc Toản, and Nguyễn Khoái were finally able to defeat Sogetu's fleet. On May 10, 1285 (in the lunar calendar), Trần Quang Khải fought a decisive battle at Chương Dương where Yuan's navy was almost destroyed; the balance on the battlefield tilted definitively in favour of the Trần dynasty. Ten days after Sogetu was killed, Emperor Nhân Tông and Retired Emperor Thánh Tông returned to the capital, Thăng Long, on June 6, 1285 (in the lunar calendar).