In which year did New York become a US state?

1788

1819

1792

1837