When were ovens invented?

Electric ovens were invented before the 1900s, but they did not become prominent until the late 1920s. This is around the time that electricity technology improved.