Legislator

Definition
A legislator (or lawmaker) is a person who writes and passes laws, especially someone who is a member of a legislature.