Complex sentence: It has been claimed that he worked as a spy in Persia and Afghanistan and this is how he mastered the Persian language.
Split into simpler sentences: It has been claimed that he worked as a spy in Persia and Afghanistan. This is how he mastered the Persian language.