Complex sentence: He left Hibs at the end of his short-term contract, in May 2017, and joined Dumbarton on 23 June 2017.
Split into simpler sentences: He left Hibs at the end of his short-term contract, in May 2017. Gallacher joined Dumbarton on 23 June 2017.