A group of independence campaigners who set up camp outside the Scottish Parliament have lost their court battle against eviction.

The Indycamp group set up outside Holyrood in November 2015 and pledged to stay until Scotland gained independence, sparking a seven-month court battle as the parliament's corporate body sought eviction.

Judge Lord Turnbull ruled in favour of the parliament and granted their petition to have the campers evicted.

READ MORE: Brexit action plan published by Scottish Labour

In a written judgement published on Wednesday, he found the ruling against the campaigners would not "deprive them of the essence" of their human rights.

The campaigners had argued at the Court of Session in Edinburgh that eviction would infringe their rights to freedom of expression and freedom of assembly and association.