The first consumer protection law ever written was enacted over beer by Duke Wilhelm IV of Bavaria in 1516, known as the Reinheitsgebot.  It was a purity law limiting the ingredients of beer to malt, hops and water (and later yeast).