How was the legislature elected in colonial New York State and how much authority was the legislature given?

Voters elected the legislature, and i am not sure how much authority he was given.