A legislator, or lawmaker, is a person who writes and passes laws, especially someone who is a member of a legislature. Legislators are often elected by the people, but they can be appointed, or hereditary. From Wikipedia
Lawmakers are urging an expansion of security funding with measures such as scrubbing personal data after authorities say suspect Vance Boelter targeted more than 45 officials