HegaveupdiggingforgoldandforsomeyearshebecameaFraserRiverpilot.

Please segment the words:
He gave up digging for gold and for some years he became a Fraser River pilot.