Silla , which had accomplished an incomplete unification of the Three Kingdoms of Korea in 668 , weakened and lost control over local lords during the end of the 9th century .
Silla had accomplished an unification of the Three Kingdoms of Korea in 668 .