Complex sentence: He came from Azerbaijan to Spain as a spy and decided to live there.
Split into simpler sentences: He came from Azerbaijan to Spain as a spy. He decided to live there.