HeremainedtherethroughoutWorldWarII,workingasacryptographerfortheBritishGovernmentduringthewaryears.

Please segment the words.
He remained there throughout World War II, working as a cryptographer for the British Government during the war years.