What ended in the 18th century