Prior to the invention of baking powder in 1856, home cooks relied on acidity to lift their cakes, often in addition to an alkaline leavener. “The idea of using a sour product of fermentation to aid in the rising of a cake isn’t so strange,” Katz says.
I sort of thought baking powder always existed... the article is about chocolate cake made with sauerkraut: