Complex sentence: Thereafter, he travelled to Makkah al-Mukarramah and studied under the celebrated scholar Shaykh Ahmad Ibn Hajar al-Haytami Makki, and al-Qari eventually decided to remain in Makkah al-Mukarramah where he taught, died and was laid to rest.
Split into simpler sentences: Thereafter, he travelled to Makkah al-Mukarramah and studied under the celebrated scholar Shaykh Ahmad Ibn Hajar al-Haytami Makki. Mulla' Ali al-Qari eventually decided to remain in Makkah al-Mukarramah where he taught, died and was laid to rest.