The Washington State Library is a government agency that operates public libraries in Washington state's prisons and mental hospitals, and maintains collections related to the state government. Based in Tumwater, it is a service of the Washington Secretary of State and was founded in 1853 as the Washington Territorial Library. The library has a collection of 2.25 million physical items and other online resources available to residents of the state.