Silla drove the Tang forces out of the peninsula by 676 to achieve unification of most of the Three Kingdoms.
By 676, Silla managed to expel Tang forces from the peninsula and unify most of the Three Kingdoms.