The towns of Staten Island were dissolved in 1898 with the consolidation of the City of Greater New York, as Richmond County became one of the five boroughs of the expanded city. Although consolidated into the City of Greater New York in 1898, the county sheriff of Staten Island maintained control of the jail system, unlike the other boroughs who had gradually transferred control of the jails to the Department of Correction. The jail system was not transferred until January 1, 1942. Today, Staten Island is the only borough without a New York City Department of Correction major detention center.

Answer this question based on the passage: when did staten island became part of nyc? OK. Let's think. My stream of consciousness:
To answer the above question, the relevant sentence is: The towns of Staten Island were dissolved in 1898 with the consolidation of the City of Greater New York, as Richmond County became one of the five boroughs of the expanded city. The answer is 1898.