Complex sentence: At the end of the war, each prisoner was given a loyalty oath and a train ticket home; the last prisoner left the camp on September 27,1865.
Split into simpler sentences: At the end of the war, each prisoner was required to take a loyalty oath and given a train ticket home. The last prisoner left the camp on September 27,1865.