In 19th-century South Africa, a baboon named Jack was employed as an assistant to a railway signalman for 9 years. He helped the railway signalman (who had two peg legs) switch tracks for trains and never once made a mistake.