THE controversial Public Order Bill has been passed at Westminster by 276 votes to 231.
The bill would introduce new laws governing protests in England, as well as powers police have to stop and search people.
It received the backing of 276 MPs, 275 Conservative and one independent Rob Roberts.
The no votes included 39 from the SNP, 163 from Labour, seven independents including Jeremy Corbyn and Margaret Ferrier and Alba Party MP Kenny MacAskill.
A total of 75 Tories abstained, with no vote recorded for 31 Labour, five SNP including Ian Blackford, and Alba's other MP Neale Hanvey.
Here's what you need to know about the vote.
Why is it being introduced?
The UK Government says it's to stop protests such as those by Extinction Rebellion that are disruptive.
Former home secretary Priti Patel, who introduced the bill, said: "What we have seen in recent years is a rise in criminal, disruptive and self-defeating guerrilla tactics, carried out by a selfish few in the name of protest.
"Not only do these anti-social protests cause untold delays and misery for the law-abiding public wanting to get on with their lives, it tears police away from communities where they are needed most to prevent serious violence and neighbourhood crime.
"This bill backs the police to take proactive action and prevent such disruption happening in the first place. These measures stand up for the responsible majority and it is time that Parliament got behind them."
Why is it so controversial?
Those who are opposed to the bill believe it poses a real danger to the right to protest or even strike south of the Border.
Who was urging MPs to vote against?
A coalition spanning human rights, privacy, criminal justice, democracy, children's rights, international development, environment, freedom of speech, violence against women and girls, refugee and migrant rights, community and faith sectors put out a joint briefing warning the bill could have a "chilling effect on our ability to stand up to power".
That included Amnesty International, Greenpeace, the TUC and Unison.
Aren't buffer zones around abortion clinics included?
Yes, in an amendment to the bill today.
The House of Commons voted 297 to 110, majority 187, in favour of an amendment to the Public Order Bill in a bid to offer greater protection to women by preventing protesters from gathering.
The move, pushed by a cross-party group of MPs, would introduce buffer zones around abortion clinics and hospitals in England and Wales where it would be an offence to interfere, intimidate or harass women accessing or people providing abortion services.
That seems like a good idea, why did so many vote against the bill?
In short, because of the other things in it.
Elements of the bill were previously thrown out by the House of Lords, after they concluded that the Government hadn't sought proper debate.
Late amendments would have given police powers to stop and search peaceful protestors without probable cause, make 'locking on' (attaching oneself to a person, object or land) an offence and allow the banning of protests.
They were introduced as part of the Police, Crime, Sentencing and Courts (PCSC) Bill and are back in the Public Order Bill.
It would allow police to "stop any person or vehicle and make any search the constable thinks fit whether or not the constable has any grounds for suspecting that the person or vehicle is carrying a prohibited object", with a 'prohibited object' defined as those which could be used for 'locking on' and other forms of protest.
Under current laws that is only allowed if there is deemed to be an imminent threat of serious violence.
Anti-racism campaigners have pointed out that black people are 40x more likely to be stopped and searched by police than their white counterparts.
Other measures proposed in the bill include giving courts the power to issue Serious Disruption Prevention Orders (SDPOs), which can ban individuals from attending protests.
Amnesty International has said such measures go further than similar laws in Russia, as they wouldn't even require a conviction.
Possible restrictions include 24/7 GPS tracking and the limitation of access to the internet.
What about strikes?
That's another area of concern. Clause 6 of the bill makes it an offence to interfere to obstruct major transport works, and Clause 7 makes it an offence to "interfere with the use or operation of key national infrastructure in England and Wales".
Unions and human rights groups fear this could be used to clamp down on things like rail strikes.
What happens next?
The bill will still have to go through the Lords, as well as receiving Royal Assent, before it becomes law.
Why are you making commenting on The National only available to subscribers?
We know there are thousands of National readers who want to debate, argue and go back and forth in the comments section of our stories. We’ve got the most informed readers in Scotland, asking each other the big questions about the future of our country.
Unfortunately, though, these important debates are being spoiled by a vocal minority of trolls who aren’t really interested in the issues, try to derail the conversations, register under fake names, and post vile abuse.
So that’s why we’ve decided to make the ability to comment only available to our paying subscribers. That way, all the trolls who post abuse on our website will have to pay if they want to join the debate – and risk a permanent ban from the account that they subscribe with.
The conversation will go back to what it should be about – people who care passionately about the issues, but disagree constructively on what we should do about them. Let’s get that debate started!
Callum Baird, Editor of The National
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules here