What period ended towards the end of the 18th century