Add spaces: TheendofMoslemcontrolofGranadacamewiththesurrenderofthecityin1492byitsMoslemleaderinreturnforthepromiseofsafeconductforhimselfandfamilyalongwithanyMoslemwhochosetogowithhim.
The end of Moslem control of Granada came with the surrender of the city in 1492 by its Moslem leader in return for the promise of safe conduct for himself and family along with any Moslem who chose to go with him.