It wasn't until the reign of King Sunjo that the Kim clan of Andong in cooperation with few other blood related grandee clans obtained full control over the court — after purging their rival factions and other rival clans in their own political faction the Joseon bureaucracy degenerated into corruption.