Original: Leberkäse is said to have been invented in 1776 by the cook of Charles Theodore , Elector of Bavaria , although this story has been heavily contested .
Simplified: The result , generally called Leberkässemmel , is a staple of Bavarian and Austrian fast food restaurants .