The number of people living in Brooklyn grew rapidly early in the 19th century. There were 4,402 by 1810, 7,175 in 1820 and 15,396 by 1830. The city's population was 25,000 in 1834, but the police department comprised only 12 men on the day shift and another 12 on the night shift. Every time a rash of burglaries broke out, officials blamed burglars from New York City. Finally, in 1855, a modern police force was created, employing 150 men. Voters complained of inadequate protection and excessive costs. In 1857, the state legislature merged the Brooklyn force with that of New York City.