ADVERTISEMENT
The first lady beat Ann Romney in Family Circle magazine's Presidential Bake-off contest, the magazine announced Tuesday.

Every other contest winner, except Cindy McCain in 2008, went on to inhabit the White House.

And just like the presidential race, the cookie race was tight. According to the magazine, it was the smallest victory margin ever for Obama, who took 51.5 percent of the vote for her White and Dark Chocolate Chip Cookies.

Ann Romney earned 48.5 percent of the vote for her M&M cookies, with only 287 votes separating the two.

Obama credits her winning recipe to her daughters’ godmother, Mama Kaye. In 2008, Michelle ObamaMichelle LeVaughn Robinson ObamaObama to host global summit in Chicago Kelly Clarkson says new song 'Go High' inspired by Michelle Obama Michelle Obama outshines all Democratic prospects for 2020 MORE entered Shortbread Cookies in the contest

Michelle Obama later tweeted about the contest, thanking the magazine while underlining the importance of voting.

Both recipes and the contest results are available in the magazine’s November issue, on newsstands now, as well as online at familycircle.com/cookieresults.

Updated Oct. 3 at 9:50 a.m.