A racist with a history of bigoted attacks has been jailed for throwing a petrol bomb at a city mosque.

Thomas Conington targeted Edinburgh Central Mosque just after 2am on September 18, 2016.

The 29-year-old, who has a Nazi swastika tattoo on his chest, lit a clear glass bottle filled with petrol then launched it over the fence into the grounds of the Potterrow mosque.

The Molotov cocktail burst into flames on the steps of the entrance, setting fire to the door.

Conington was jailed at the High Court in Glasgow on Wednesday after admitting the attack. He was given a lifelong restriction order and must serve at least three years and nine months in jail.

The court heard that a month earlier, Conington had approached the same mosque while drunk and was arrested for being aggressive and racially abusive after being refused entry.

He was also convicted of making racially offensive and sectarian remarks to a supermarket security guard.

The self-confessed bigot hurled racist and bigoted abuse at the guard at a Tesco store in Duke Street, Edinburgh, on March 3.

Prosecutor Andrew Richardson, speaking after Wednesday's sentencing, said: "Everyone has the right to live free from violence, threats, intimidation or the fear of harassment or abuse stemming from the prejudice of another person.

"To be targeted because of race, colour or faith is totally unacceptable.

"Hopefully, the conviction and sentencing of Thomas Conington will send a strong message to those who engage in this abhorrent behaviour that they will face the full force of the law.

"We are determined to work alongside colleagues in the criminal justice system to do all in our power to prevent these crimes and to bring those who commit them to justice."