 During the reign of Lý Thái Tổ, the Song Dynasty was pre-occupied with maintaining internal stability and still recovering from previous defeats or skirmishes with the Liao and Xi Xia empires.Đại Việt, as a result, was mostly left alone and political relations between the two kingdoms revived.Lý Thái Tổ sent many envoys to the Song court and demanded that its government officially recognize Đại Việt's status as a vassal independent kingdom rather than an autonomous Chinese province of Song.