Complex sentence: Spence announced on his Twitter account in May 2012 that he was leaving Celtic, subsequently training with Raith Rovers in an attempt to win a permanent contract.
Split into simpler sentences: Spence announced on his Twitter account in May 2012 that he was leaving Celtic. He then trained with Raith Rovers in an attempt to win a permanent contract.