Albany (Option C) has been New York's capital since 1797. The other options are all major New York cities but not the capital:
Chosen for its strategic inland location on the Hudson River, Albany provided security from coastal attacks and accessibility to the developing western frontier. It remains the seat of state government today.
New York City's global prominence often leads to the mistaken assumption it's the state capital—a confusion shared with other states where the largest city (e.g., Chicago, Los Angeles, Houston) isn't the capital.