This began in late-1400s century spain and was intended to maintain the catholic control of the country, and did not officially end until the early 1800s.