Silla–Tang War and Unification
Silla drove out the Tang armies that sought to rule the peninsula and unified the land south of a line from the Taedong River to Wonsan Bay.

After Baekje and Goguryeo fell, Tang set up the Ungjin Protectorate and the Protectorate General to Pacify the East, and even named Silla a Tang protectorate. Silla began fighting in 670 by backing the Goguryeo rebels, retook Sabi in 671, and won at Maeso Fortress in 675 and Gibeolpo in 676. Tang moved its protectorate back to Liaodong.
Unification first brought the peninsula’s people and culture together under one state — though it relied on foreign help and lost most of Goguryeo’s former lands.