To secure local interest, in 1885, he gave $500,000 to Pittsburgh, Pennsylvania for a public library, and in 1886, he gave $250,000 to Allegheny City, Pennsylvania for a music hall and library; and $250,000 to Edinburgh for a free library. In total, Carnegie funded some 3,000 libraries, located in 47 US states, and also in Canada, Britain, Ireland, Australia, New Zealand, South Africa, the West Indies, and Fiji. He also donated £50,000 to help set up the University of Birmingham in 1899.