It was past its peak by the late 1840s.