1340-1840