 The office of the secretary of state of New York was established in 1778, and is one of the oldest government agencies of the state of New York.Until 1822, the secretary of state was appointed by the Council of Appointment for an indefinite term, but could be substituted at any time, especially if the majority party in the council changed.Besides his other duties, the secretary of state was also the secretary of the Council of Appointment.