C. ensure Spain would be a Catholic nation.
The Spanish Inquisition was established primarily to maintain Catholic orthodoxy in Spain, particularly after the Reconquista, and to identify and punish converts from Judaism and Islam who were suspected of secretly practicing their former religions.