what's the county for new york city
New York City Situated on one of the world's largest natural harbors,[29][30] New York City consists of five boroughs, each of which is a separate county of the State of New York.[31] The five boroughs – Brooklyn, Queens, Manhattan, The Bronx, and Staten Island – were consolidated into a single city in 1898.[32] The city and its metropolitan area constitute the premier gateway for legal immigration to the United States.[33] As many as 800 languages are spoken in New York,[34][35][36] making it the most linguistically diverse city in the world.[35][37][38] New York City is home to more than 3.2 million residents born outside the United States,[39] the largest foreign-born population of any city in the world.[40] In 2013, the tri-state New York Metropolitan Statistical Area (MSA) produced a gross metropolitan product (GMP) of nearly US$1.4 trillion.[41] If greater New York City were a sovereign state, it would have the 12th highest GDP in the world.[42]