They defected to Cao Cao when they learnt that Wuchao was lost, and their defection resulted in Yuan Shao's defeat.
They defected to Cao Cao. Wuchao was lost. They learnt this. Their defection resulted in Yuan Shao's defeat.