Question: While Grover Cleveland was the 22nd and 24th president, in 1888 he lost to the 23rd president, who served from when to when?

Context articles: Second inauguration of Grover Cleveland
First inauguration of Grover Cleveland
Esther Cleveland
Adlai Stevenson I
Grover Cleveland
Westland Mansion
Benjamin Harrison
Grover Cleveland presidential campaign
Presidencies of Grover Cleveland
Presidency of Benjamin Harrison

The second inauguration of Grover Cleveland as the 24th President of the United States took place on Saturday, March 4, 1893.
 The inauguration marked the commencement of the second four-year term of Grover Cleveland as President and the only term of Adlai E. Stevenson I as Vice President.
 Cleveland had previously been the 22nd president, and is the only president to serve two non-consecutive terms.
 Chief Justice Melville W. Fuller administered the Oath of office.
 It snowed during the inauguration.
The first inauguration of Grover Cleveland as the 22nd President of the United States was held on Wednesday, March 4, 1885, at the eastern portico of the United States Capitol in Washington, D.C..
 The inauguration marked the commencement of the first four-year term of Grover Cleveland as President and the only term of Thomas A. Hendricks as Vice President.
 Hendricks died days into this term, and the office remained vacant for the balance of it.
 (Prior to ratification of the Twenty-fifth Amendment in 1967, no constitutional provision existed for filling an intra-term vacancy in the vice presidency.)
Esther Cleveland (September 9, 1893 – June 25, 1980) was the second child of Grover Cleveland, 22nd and 24th President of the United States, and his wife Frances Folsom Cleveland.
Adlai Ewing Stevenson I ( ; October 23, 1835 – June 14, 1914) served as the 23rd Vice President of the United States (1893–97).
 Previously, he served as a Congressman from Illinois in the late 1870s and early 1880s.
 After his subsequent appointment as Assistant Postmaster General of the United States during Grover Cleveland's first administration (1885–89), he fired many Republican postal workers and replaced them with Southern Democrats.
 This earned him the enmity of the Republican-controlled Congress, but made him a favorite as Grover Cleveland's running mate in 1892, and he duly became Vice President of the United States.
Stephen Grover Cleveland (March 18, 1837June 24, 1908) was an American politician and lawyer who was the 22nd and 24th President of the United States, the only President in American history to serve two non-consecutive terms in office (188589 and 189397).
 He won the popular vote for three presidential electionsin 1884, 1888, and 1892and was one of two Democrats (with Woodrow Wilson) to be elected president during the era of Republican political domination dating from 1861 to 1933.
Westland Mansion was the home of Stephen Grover Cleveland, the 22nd and 24th President of the United States, from his retirement in 1897 until his death in 1908.
 The house is located in the Historic District of Princeton, New Jersey, and is listed on the National Register of Historic Places as the Grover Cleveland Home.
Benjamin Harrison (August 20, 1833 – March 13, 1901) was an American politician and lawyer who served as the 23rd President of the United States from 1889 to 1893; he was the grandson of the ninth president, William Henry Harrison, creating the only grandfather-grandson duo to hold the office.
 Before ascending to the presidency, Harrison established himself as a prominent local attorney, Presbyterian church leader, and politician in Indianapolis, Indiana.
 During the American Civil War, he served in the Union Army as a colonel, and was confirmed by the U.S. Senate as a brevet brigadier general of volunteers in 1865.
 Harrison unsuccessfully ran for governor of Indiana in 1876.
 The Indiana General Assembly elected Harrison to a six-year term in the U.S. Senate, where he served from 1881 to 1887.
Grover Cleveland, the 22nd and 24th President of the United States, ran for president thrice:
The presidencies of Grover Cleveland lasted from March 4, 1885 to March 4, 1889, and from March 4, 1893 to March 4, 1897.
 The first Democrat elected after the Civil War, Grover Cleveland is the only President of the United States to leave office after one term and later return for a second term.
 His presidencies were the nation's 22nd and 24th.
 Cleveland defeated James G. Blaine of Maine in 1884, lost to Benjamin Harrison of Indiana in 1888, and then defeated President Harrison in 1892.
The presidency of Benjamin Harrison began on March 4, 1889, when Benjamin Harrison was inaugurated as President of the United States, and ended on March 4, 1893.
 Harrison, a Republican, took office as the 23rd United States president after defeating Democratic incumbent President Grover Cleveland in the 1888 election.
 Four years later he was defeated for re-election by Cleveland in the 1892 presidential election.
 Harrison is the only president to be preceded and succeeded by the same individual.
 Harrison is also the only president to be the grandson of another president.