1797 followed by 1798
1797 (MDCCXCVII) was a common year starting on Sunday of the Gregorian calendar and a common year starting on Thursday of the Julian calendar, the 1797th year of the Common Era (CE) and Anno Domini (AD) designations, the 797th  year of the 2nd millennium, the 97th  year of the 18th century, and the  8th   year of the 1790s decade. As of the start of 1797, the Gregorian calendar was 11 days ahead of the Julian calendar, which remained in localized use until 1923.