King Munmu took the throne in the midst of a long conflict against Baekje and Goguryeo, shortly after General Gyebaek and Baekje had been defeated at Sabi by General Kim Yu-shin in 660.
The first years of his reign were spent trying to defeat Goguryeo, following an abortive attempt in 661.