Complex sentence: The 27th Division (minus division artillery) was attached to British forces for training and issued British rifles and machine guns, but ended up fighting alongside the British and Australians for its entire combat service.
Split into simpler sentences: The 27th Division (minus division artillery) was attached to British forces for training and issued British rifles and machine guns. The Division ended up fighting alongside the British and Australians for its entire combat service.