But these trades were being steadily undermined by urban competition in the second half of the nineteenth century. Already by the 1850s, the technology of power looms was destroying the textile economy in numerous villages in Perth, Fife and Angus and promoting large-scale migration as a result.