A popular story credits a Polish king living in Lorraine with soaking a dry cake in wine or spirits, creating the baba. It is retold often but not proven.
Kings get credit for a lot of desserts.