legislator (legislate + -or; agent_person)
Someone who creates or enacts laws