The New York State Library is a research library in Albany, New York, United States. It was established in 1818 to serve the state government of New York and is part of the New York State Education Department. The library is one of the largest in the world by number of items held, with over 20 million cataloged items in 2011.