legislator
noun
°Someone who creates or enacts laws, especially a member of a legislative body.
synonyms: lawmaker