Mahmud of Ghazni looted other kingdoms and carried away the wealth. He then used the wealth to build the ____.