Complex sentence: Vacancies were filled by the Governor of New York until a successor was elected to a full term at the next annual election, and acting district attorneys were appointed by Courts of General Sessions pending the governor's action.
Split into simpler sentences: Vacancies were filled by the Governor of New York until a successor was elected to a full term, at the next annual election. Acting District Attorneys were appointed by Courts of General Sessions pending the governor's action.