Transportation was seldom used as a criminal sentence until the Piracy Act 1717, "An Act for the further preventing Robbery, Burglary, and other Felonies, and for the more effectual Transportation of Felons, and unlawful Exporters of Wool; and for declaring the Law upon some Points relating to Pirates", established a seven-year penal transportation as a possible punishment for those convicted of lesser felonies, or as a possible sentence to which capital punishment might be commuted by royal pardon. Criminals were transported to North America from 1718 to 1776. When the American revolution made transportation to the Thirteen Colonies unfeasible, those sentenced to it were typically punished with imprisonment or hard labour instead. From 1787 to 1868, criminals convicted and sentenced under the Act were transported to the colonies in Australia.