Since consolidation with New York City in 1898, Brooklyn has been governed by the New York City Charter that provides for a "strong" mayor–council system. The centralized government of New York City is responsible for public education, correctional institutions, public safety, recreational facilities, sanitation, water supply, and welfare services. On the other hand, the Brooklyn Public Library is an independent nonprofit organization partially funded by the government of New York City, but also by the government of New York State, the U.S. federal government, and private donors.