The team struggled in the early years of the Football League and were relegated to the Second Division at the end of the 1896–97 season. The side won promotion the following season, but were again relegated in 1899–1900. Burnley achieved promotion back to the First Division in 1912–13 under manager John Haworth; the following year the side won the FA Cup for the first—and to date only—time, after they defeated Liverpool in the final. In the 1920–21 campaign, Burnley were crowned champions of England for the first time. During that season they embarked on a 30-match unbeaten run, setting an English record. Burnley remained in the top tier of English football until 1929–30, when they sank to the second tier. The side gained promotion back to the first tier in 1946–47 and stayed there for 24 consecutive seasons.