Complex sentence: When Alexander the Great invaded India, his army passed through Kashmir and while returning, many Greek soldiers settled in Kashmir.
Split into simpler sentences: When Alexander the Great invaded India, he had come with his army through Kashmir. While returning, many Greek soldiers settled in Kashmir.