He strengthened the country's defense by creating new positions for defense such as the Ikoku Keigo Banyaku (Foreign Enemy Defense) and built stone mounds, which remain still the present day, along the coast of Hakata Bay having learned from the Bunei War.
異国警固番役などを新たに設置して国防を強化し、この文永の役を教訓として博多湾岸に今でも残る石塁を構築した。