RCHMOND, Va. (AP) — A bill aimed at preventing suicides at Virginia shooting ranges by requiring a background check for gun rentals has been rejected by the state Senate.

The Senate voted Thursday to send the bill back to the Judiciary Committee, ending its chances of being passed this year.

The legislation was proposed by Democratic Sen. Creigh Deeds, who cited two suicides within five days last year at the Green Top Shooting Range in Hanover.

Both men were in their 20s and had a history of mental health issues. Neither man was subjected to a background check before he was allowed to rent a gun and turn the weapon on himself.

Currently, neither federal nor state law requires background checks for gun rentals at shooting ranges.

“The thing about these two young men in Hanover County is that neither one could purchase a firearm cause they had problems in the past,” Deeds continued. “A background check would have shown that.”

WRIC-TV reported that the Senate voted 21-18 to send the bill back to committee.