Complex sentence: After demoted by the court, he kept travelling and had been Chicken island, After the visit people built a temple for him and exalted him as spirit.
Split into simpler sentences: After demoted by the court, he kept travelling and had been Chicken island. After his visit, people built a temple for him and exalted him as spirit.