Complex sentence: Tandem was acquired by Compaq in 1997 which was in turn acquired by HP in 2002, bringing Tandem back to its original roots.
Split into simpler sentences: Tandem was acquired by Compaq in 1997. Compaq was in turn acquired by HP in 2002, bringing Tandem back to its original roots.