Ludwig I or Louis I (German: Ludwig I.) was king of Bavaria from 1825 until the 1848 revolutions in the German states.