In the early 1900s, Forrest Mars, Sr., the son of Chicago candy maker and Snickers bar creator Franklin Clarence Mars, worked his way through Europe learning the ins and outs of the candy business.

He worked for Nestle. He worked for Tobler. He started his own little factory in England. He sold some of his father’s brands.

Most importantly, he found inspiration. According to confectionery lore, Mars was in Spain during the Spanish Civil War and noticed treats frequently placed in soldiers’ rations. They were chocolate pellets coated with a hard candy shell that kept them from melting (these might have been, or been inspired by, the “chocolate beans” made by Rowntrees of York, England since 1882).

Upon his return to the U.S. in 1940, Mars sought out another son of a famed candy man to put his own spin on the Spanish candies. Bruce Murrie’s partnership in the new venture was essential to the candy’s success during World War II. His father was William Murrie, president of the Hershey Company, which meant Bruce and Mars had access to Hershey’s sugar and chocolate stores at a time when the ingredients were in short supply. It also guaranteed customers – Hershey had struck a deal with the Army in 1937 to provide chocolate for U.S. soldiers’ ration packs.

The partners Mars and Murrie dubbed their new candy with their initials, and M&M’s soon found their way around the world with U.S. servicemen (along with the 4-ounce, 600-calorie “Ration D” Hershey chocolate bar). The story didn’t end sweetly for Murrie, though. When chocolate rationing ended after the war, Mars bought out Murrie’s 20% interest in the product and went on to become one of Hershey’s biggest competitors.

Leaving Their Mark

Even with their partnership dissolved, Mars and Murrie’s initials stuck as the candy’s name and, in 1950, was even printed on it. Today, the Ms are applied to M&M’s in a process that Mars Inc. describes as “akin to offset printing.” Blank M&M’s sit on a special conveyor belt that has a dimple for each candy to sit in, and roll through a machine where vegetable dye is transferred from a press to a rubber etch roller that gently prints the M on each piece.

The printer can stamp some 2.5 million M&M’s an hour. Some candies make it off the line M-less, but Mars doesn’t consider these rejects. Minor variations in the shapes of M&M’s, especially the peanut ones, make uniform stamping difficult, and the machine is set up to let some blanks slip through rather than mark every one and break some candy shells in the process.