President Donald Trump said on Friday that the U.S. Constitution was being attacked in the state of Virginia, where lawmakers have been moving to enact tougher gun laws and arms enthusiasts are planning a rally next week.

'Your 2nd Amendment is under very serious attack in the Great Commonwealth of Virginia,' Trump wrote in a post on Twitter, referring to the amendment in the Bill of Rights that gives Americans the right to keep and bear firearms.

The Virginia Senate late on Thursday passed bills to require background checks on all firearms sales, limit handgun purchases to one a month, and restore local governments' right to ban weapons from public buildings and other venues.

The Virginia state Capitol building is surrounded by fencing in preparation for Monday's rally by gun rights advocates Gov. Ralph Northam announced a state of emergency and banned all weapons from the rally at the Capitol until after the rally

President Donald Trump tweeted on Friday that the Second Amendment is under 'very serious attack' in Virginia

But the president's tweet comes at a sensitive time with gun-control activists reporting a growing number of online death threats as the lawmakers move ahead with the legislation.

On Monday, a rally by arms enthusiasts in the state capitol of Richmond is banning all firearms from entering the area around the capitol.

Authorities claim they are trying to keep the rally becoming violent and say there have been threats of violence made online.

Virginia Governor Ralph Northam on Wednesday declared a state of emergency banning any weapons around the grounds of the capitol from Friday evening until Tuesday evening.

The tweet from Trump came after Virginia Gov. Ralph Northam, right, declared a state of emergency ahead of a pro-gun rights rally in Richmond on Monday

Virginia Governor Ralph Northam detailed his reasons for the firearms ban in a series of Tweets on Friday.

'We have received credible intelligence from our law enforcement agencies of threats of violence surrounding the demonstration planned for Monday, January 20. This includes extremist rhetoric similar to what has been seen before major incidents, such as Charlottesville in 2017,' Northam wrote.

'This intelligence suggests militia groups and hate groups, some from out of state, plan to come to the Capitol to disrupt our democratic process with acts of violence. Based on these threats, I am declaring a state of emergency in Richmond from Friday evening until Tuesday evening. This will include a ban on weapons of any kind in Capitol Square during that time.'

Militias, neo-Nazis and other groups have vowed to swarm the capitol. Supporters of the new laws said on Friday that despite a spike in online threats, they will not back down, however.

Gun-rights groups had asked a judge to block the Virginia governor's ban on firearms at a massive pro-gun rally scheduled for Monday

Virginia Governor Ralph Northam explained over Twitter his reasoning for banning weapons from a gun rights rally which is due to be held this Monday

Democrats promising stronger gun laws took control of the legislature in Virginia in 2019, putting the state at the center of the contentious American debate around the right to bear arms. Both Virginia houses are expected to pass the new laws.

Supporters say more restrictive laws would help decrease the number of people killed by guns each year.

Gun-rights activists assert the constitution guarantees their right to possess any firearm.

'These extremists are afraid their guns will be taken away - we're afraid our children will be taken away,' said Shannon Watts, founder of the Moms Demand Action group that advocates tougher laws. 'While the rally has grown in size and grown more extreme, what we will see Monday is a vocal minority.'

Watts said that she and many members of her group and their families had been increasingly threatened online with death and rape, and Virginia members of her organization have had their home addresses and other personal information shared online, which they have reported to police.

Watts said some members of her group - which is part of Everytown, a 4-million-member organization funded by former New York mayor and presidential candidate Michael Bloomberg - would be on the ground at the rally.

On Thursday, the FBI arrested three members of a small neo-Nazi group who authorities said hoped to ignite a race war through violent acts at Monday's rally, reminiscent of a 2017 white supremacist rally in nearby Charlottesville, pictured above

But she said the bulk of their efforts would go to working phone banks and keeping pressure on Virginia legislators to pass the promised gun laws.

'We'll not be intimidated,' Watts said on a conference call with journalists. 'We'll not back down.'

Philip Van Cleave, leader of the pro-gun Virginia Citizens Defense League (VCDL), organizers of the rally, has rejected calls for violence while openly welcoming militias from across the United States to provide security for his group.

A spokesman for the Capitol Police said the group has worked closely with law enforcement officers on their rally plans. Van Cleave and other members of the group did not respond to multiple requests for comment.

On Thursday, the FBI arrested three members of a small neo-Nazi group who authorities said hoped to ignite a race war through violent acts at Monday's rally, reminiscent of a 2017 white supremacist rally in nearby Charlottesville.

Governor Northam is pushing a package of eight bills on the issue of gun rights and the lower house, the House of Delegates, is expected to consider them in a single package, with lawmakers waiting to let the dust settle after Monday's rally before going forward.

The state legislature will be in session through the first week of March.

A lawsuit filed by gun rights groups that requested the ban be knocked down was rejected by the state's Supreme Court Friday evening.