Restrictions also proved effective to spur economic development: In 1812, when the UK declared war and imposed a trade embargo on the US, import substitution caused American manufacturing to flourish.