MSPs have backed plans to increase council tax for the top four property bands in Scotland.

In a vote on Thursday evening, 92 MSPs supported the Scottish Government's motion for the most expensive properties to pay more.

The changes mean the average band E household will pay around £2 per week more, and the average household in band H about £10 a week more.

This means an annual increase of just over £100 for band E households and just over £500 for band H households.

The increases are aimed at raising an extra £100m a year for education in Scotland.

Green MSP Andy Wightman tabled an amendment which does not oppose the changes but added the parliament "regrets" the proposals "undermine the principle of local accountability and autonomy and fail to address a number of issues identified by the Commission on Local Tax Reform".

This amendment was passed by 64 votes to 63, meaning the motion was passed with criticism of the Scottish Government included.

An amendment to Wightman's motion, tabled by the SNP's Derek Mackay, was voted down 63 to 64.

Mackay's amendment would have removed the criticism of the Scottish Government.

The controversy over the amendment led to the SNP accusing Labour and the Greens of "teaming up with the Tories."

Bob Doris MSP said: "Labour and the Greens should hang their heads in shame tonight for teaming up with the Tories to vote down the opportunity to embed fair taxation in future reforms.

"Every party at Holyrood put their plans on local taxation to the test in May and the SNP was returned for a third term in government.

"The SNP is determined to see a further £100m invested in education and that is why we ensured our manifesto commitment passed through parliament tonight."

He added: "Our plans make council tax fairer, more proportionate and more progressive. While you might expect opposition to such plans from the Tories, it is absolute shameful to see political gamesmanship of this nature from Labour and the Greens.

"It was a petty and poorly judged stunt on a petty and poorly thought-out amendment - and ultimately a vote against progressive taxation."

Lothian MSP Wightman said the vote had showed "level heads prevailed."

He said: "This minority Government must expect their record to be challenged, and Greens will always seek to do this in a constructive way.

"At no point have we ever stood in the way of the changes to Council Tax as they are better than nothing.

"It has been bizarre to see SNP Ministers threatening to vote down their own policy simply because they don't like fair criticism."

The Scottish Conservatives opposed the tax increases, with shadow finance secretary Murdo Fraser saying: "With this vote, the SNP has condemned its own council tax plans.

"Not only does it hike tax for hardworking families, the policy completely undermines local accountability and autonomy too."