Historical accounts have been written of industrial espionage between Britain and France. Attributed to Britain's emergence as an "industrial creditor", the second decade of the 18th century saw the emergence of a large-scale state-sponsored effort to surreptitiously take British industrial technology to France. Witnesses confirmed both the inveigling of tradespersons abroad and the placing of apprentices in England. Protests by those such as ironworkers in Sheffield and steelworkers in Newcastle, about skilled industrial workers being enticed abroad, led to the first English legislation aimed at preventing this method of economic and industrial espionage. This did not prevent Samuel Slater from bringing British textile technology to the United States in 1789, for to catch up with technological advances of the European powers, the US government in the eighteenth and nineteenth centuries actively encouraged intellectual piracy.