Question: when did albany became capital of new york
Answer: It became the capital of New York in 1797 .