Complex sentence: Al-Baruni visited Multan in the 10th Century AD and left a glowing description of it; however, the temple is said to have been finally destroyed by Mahmud of Ghazni in 1026 AD.
Split into simpler sentences: Al-Baruni visited Multan in the 10th Century AD and left a glowing description of it. However, the temple is said to have been finally destroyed by Mahmud of Ghazni in 1026 AD.