Complex sentence: Five men, due to be hanged, accept a pardon to join the Confederate army, to go after a traitor and a shipment of stolen gold.
Split into simpler sentences: Five men, due to be hanged, accept a pardon to join the Confederate army. Their tasks is to go after a traitor and a shipment of stolen gold.