It’s believed to have originated in Colonial America and the first recorded print of a recipe by this name was in 1864 in Yale Literary Magazine.