It was based in the city of Valladolid and operated for much of the Middle Ages and throughout the Early Modern Ages as the highest court of law in the kingdom, and was suppressed in 1834 as a result of liberal reforms.