Washington, DC (CNN) The Virginia state Senate voted Wednesday to advance a "red flag law" bill, one of many gun safety measures Democrats are looking to move through the state Legislature after taking control of both chambers.

The bill -- SB 240 , also known as an extreme risk protective order -- creates a procedure for authorities, including law enforcement officers and attorneys, to apply for an emergency substantial risk order to prohibit "a person who poses a substantial risk of injury to himself or others from purchasing, possessing, or transporting a firearm." Under the proposal, if such an order is issued, a judge or magistrate can issue a search warrant to remove firearms from that person.

The state Senate passed the measure in a party-line vote of 21-19 . It now moves to the state House of Delegates for consideration.

Jake Rubenstein, a spokesman for Virginia House Speaker Eileen Filler-Corn, said later Wednesday that the chamber "will deliver" on demands for "common sense gun violence protections."

"Virginians spoke loud and clear on Election Day demanding common sense gun violence protections, and make no mistake, we will deliver on that mandate," Rubenstein told CNN.