Who was the king during The Spanish Inquisition?

King Ferdinand was the king during the Spanish Inquisition.