Margarine was invented in 1869. Butter at that time was an expensive commodity, and margarine was a cheap butter-substitute for poorer people. The application of science and technology to to create new kinds of food first became common under the Victorians.