What is the difference between the Village Prosecutor and the District Attorney?

The District Attorney investigates and prosecutes criminal activity (other than violations of the Village of Port Chester Code or certain violations of the State of New York such as the Uniform Fire Prevention and Building Code or Vehicle and Traffic Code) throughout Westchester County.