Original: The letter stated that the boy would now like to be a cavalryman; thus, the captain should take him in or hang him.
Simplified: He asks the captain to take the boy or to hang him.