In May 1487 Ferdinand and Isabella began their siege of Mālaqa, which after a desperate resistance was compelled to surrender. The victory was a bloody episode in the war for the conquest of the Kingdom of Granada, but the Christian religion was restored, and with it the episcopal see.