1838 followed by 1839
1838 (MDCCCXXXVIII) was a common year starting on Monday of the Gregorian calendar and a common year starting on Saturday of the Julian calendar, the 1838th year of the Common Era (CE) and Anno Domini (AD) designations, the 838th  year of the 2nd millennium, the 38th  year of the 19th century, and the  9th   year of the 1830s decade. As of the start of 1838, the Gregorian calendar was 12 days ahead of the Julian calendar, which remained in localized use until 1923.