A leader of the new Federalist party , Jay was governor of New York from 1795 to 1801 . He was the leading opponent of slavery and the slave trade in New York . As a leader of the new Federalist Party , Jay was the Governor of New York State from 1795 to 1801 , and he became the state 's leading opponent of slavery .