There are 62 counties in New York state. Each county has an elected sheriff. The sheriff is the highest law-enforcement officer in the county. He does not work for the state of New York. He does not work for President Barack Obama. A sheriff's lawful authority in his county supersedes that of any state or federal law enforcement.