Cao Xueqin was born to a Han Chinese clan[REF] that was brought into personal service (as booi aha or bondservants) to the Manchu royalty in the late 1610s [REF].
When Cao Xi died in 1684, Cao Yin, as Kangxi's personal confidant, took over the post.