The integration of transport policing into the national force will not put at risk counter-terrorism in Scotland, the Justice Secretary has said.
Man Guilty Of Trolling FM
A court's heard a man threatened to assassinate the First Minister because he "doesn't really like the SNP".
Christopher Stevenson, 26, posted "Think I might assassinate Alex Salmond" while watching a TV programme about him.
But, an American visitor to Scotland saw the message on the social networking site and contacted the police.
Fire safety security technician Stevenson, from Alexandra Gate in Glasgow's east end, told police it was a joke when they interviewed him before he was arrested.
Stevenson was convicted by sheriff Graeme Warner after trial at Glasgow Sheriff Court, of behaving in a "threatening or abusive manner which was likely to cause a reasonable person to suffer fear or alarm".
He told Stevenson: "I'm sure you must know we live in a fairly sensitive age when some people, typically young men do some pretty crazy things that older folk like me find almost impossible to comprehend".
The sheriff said although he accepted Stevenson meant it as a joke, had he been a Twitter user and seen the message he would have 'opened his eyes'.
He added: "I might even have gone so far as to contact the police - it wasn't a surprise to me in the least someone took that course of action".
The court heard from DC Paul Fraser who took Stevenson to London Road police office and interviewed him.
DC Fraser told the court that an American person visiting Scotland had seen the message and reported it to police.
Excerpts of the interview were read in court.
He was asked to give details about his involvement in the posting of the message online.
Stevenson told officers: "I posted on Twitter that I think I might assassinate Alex Salmond, there's not really much detail in that.
"It was a programme about SNP, Scottish Independence and whatnot, I posted it after that."
Asked why he posted it he replied: "I don't really like the SNP and I thought it would be funny but it's not funny because I'm sitting here.'"
Stevenson - who has no previous convictions - said he had no wishes to harm or assassinate Mr Salmond and that it was a 'joke'.
In evidence Stevenson said that to see his messages on Twitter his account has to be 'followed' and that his followers are friends and family members.
He said the comment was a joke for them, who know his sense of humour.
He told the court: "My followers are my friends, my sense of humour does get me into trouble because I'm standing here.
"They all thought it was funny. Someone has searched the key words Alex Salmond on Twitter and found my comment and it has been re-tweeted."
He told the court: "It was done as a joke, it's hard to explain to other people.
"My followers are my friends, they get it as a joke."
The sheriff deferred sentence for a year for Stevenson to be of good behaviour.
Waiting times for cancer patients have been described as "unacceptable'' by charities after new figures revealed key targets have been missed again.
MSPs are expected to back Nicola Sturgeon's call for a second independence referendum in a vote at Holyrood today.
A doctor who admitted misleading other medics over Ebola nurse Pauline Cafferkey also acted dishonestly, medical watchdogs ruled today.
Most Viewed Pictures On Heart
Recently Played Tracks
To listen live, choose your preferred station:
Now playing: Non-stop hit music
Now playing: Non-stop hit music
Deposit £10 to get a £40 Welcome Bonus - That's £50 to play bingo, slots and more!*
Over 50 tracks to make you feel-good. New album out now...
Find your local four day weather report here.
Make Heart the soundtrack to your day and you could be a winner with great prizes up for grabs throughout the day.
Find out more about some of the companies advertising on Heart Scotland- East.