The islands were wrested from Pratapbimba's control by Mubarak Khan, a self-proclaimed regent of the Khilji dynasty, who occupied Mahim and Salsette in 1318.