A liberalisation of import tariffs in 1797 marked the end of mercantilism and further liberalisation in the 19th and the beginning of the 20th century established the Danish liberal tradition in international trade that was only to be broken by the 1930s. Even when other countries, such as Germany and France, raised protection for their agricultural sector because of increased American competition resulting in much lower agricultural prices after 1870, Denmark retained its free trade policies, as the country profited from the cheap imports of cereals (used as feedstuffs for their cattle and pigs) and could increase their exports of butter and meat of which the prices were more stable. Today, Denmark is part of the European Union's internal market, which represents more than 508 million consumers. Several domestic commercial policies are determined by agreements among European Union (EU) members and by EU legislation. Support for free trade is high among the Danish public; in a 2016 poll 57% responded saw globalisation as an opportunity whereas 18% viewed it as a threat. 70% of trade flows are inside the European Union. , Denmark's largest export partners are Germany, Sweden, the United Kingdom and the United States.