Albany, New York, is the capital of New York State.
Albany ( [ ˈɔːlbəni ] ) is the capital of the U.S. state of New York and the seat of Albany County . It became the capital of New York State in 1797 , following the United States gaining independence in the American Revolutionary War .