Complex sentence: Syed Ameer ud din Kedwaii had great spiritual affiliations with Data Ali Hajveri (RA) of Lahore and because of this spiritual attachment, he remained in Lahore till his death.
Split into simpler sentences: Syed Ameer ud din Kedwaii had great spiritual affiliations with Data Ali Hajveri (RA) of Lahore. And because of this spiritual attachment, he remained in Lahore till his death.