Rancho Thompson (also called "Eight Leagues on Stanislaus River") was a 35,533-acre (143.80 km2) Mexican land grant in present-day San Joaquin County and Stanislaus County, California given in 1846 by Governor Pío Pico to Alpheus Basil Thompson. The rectangular grant was 2 leagues (6.0 miles; 9.7 kilometres) along both sides of the Stanislaus River by 4 leagues (12 miles; 19 kilometres) – mostly north of the river. The grant encompassed present-day Riverbank and Oakdale.
Captain Alpheus Basil Thompson (1795–1869) was a seagoing merchant from Brunswick, Maine who settled in Santa Barbara in 1834. Thompson owned the ships Loriot and the Bolívar Liberator, trading between the China and California. Thompson married Francisca Carrillo, daughter of Carlos Antonio Carrillo, Governor of Alta California from 1837 to 1838. Thomson and his shipping partner and brother-in-law, John Coffin Jones, Jr. (1796–1861), entered into a partnership to manage their Santa Rosa Island, California land grant. A legal battle between Thompson and Jones began in 1856, and the acrimonious Thompson-Jones partnership ended in 1859.
With the cession of California to the United States following the Mexican-American War, the 1848 Treaty of Guadalupe Hidalgo provided that the land grants would be honored. As required by the Land Act of 1851, a claim for Rancho Thompson was filed with the Public Land Commission in 1852, and the grant was patented to Alpheus Basil Thompson in 1858.