Complex sentence: Chris Smith replaced Dewar at Social Security, and was replaced as Shadow National Heritage Secretary by Cunningham, who was in turn replaced at the Trade and Industry brief by Beckett.
Split into simpler sentences: Chris Smith replaced Dewar at Social Security, and was replaced as Shadow National Heritage Secretary by Cunningham. Cunningham was in turn replaced at the Trade and Industry brief by Beckett.