Complex sentence: The battery remained with the 15th Indian Division, participating in the Mesopotamian campaign, for the remainder of the war, taking part in the Occupation of Hīt (9 March 1918) and the Action of Khan Baghdadi (2627 March).
Split into simpler sentences: The battery remained with the 15th Indian Division, participating in the Mesopotamian campaign, for the remainder of the war. It took part in the Occupation of Hīt (9 March 1918) and the Action of Khan Baghdadi (2627 March).