Soon Philadelphia was the largest city in North America. The first library and the first hospital in the country were built in Philadelphia. Many ships sailed in and out of the city's port, and people came to the city to buy and sell all sorts of things.