The Boston Public Library (est.1848) is a municipal public library system in Boston, Massachusetts, United States. It was the second publicly supported municipal library in the United States, the oldest being the Peterborough, New Hampshire Town Library. The Boston Public Library is also the Library for the Commonwealth (formerly library of last recourse) of the Commonwealth of Massachusetts; all adult residents of the commonwealth are entitled to borrowing and research privileges, and the library receives state funding. The Boston Public Library contains 8.9 million books and A/V (approximately 24 million items encompassing all formats), making it the second-largest public public library in the United States behind only the Library of Congress (with nearly 35 million items), according to the American Library Association. In fiscal year 2013, the city of Boston spent 1.26% ($27,836,648) of its budget on the library, or $43.74 per person. In that same year, the library held over 10,000 programs, all free to the public, and lent 3.69 million materials in a variety of formats.