A man has been arrested in connection with a series of posts made on social media about Syrian refugees.
The allegedly offensive posts were related to refugees living in Rothesay on the Isle of Bute, police said.
The 40-year-old was arrested under the Communications Act.
He is expected to appear at Greenock Sheriff Court later.
Inspector Ewan Wilson from Dunoon Police Station in Argyll said: “I hope that the arrest of this individual sends a clear message that Police Scotland will not tolerate any form of activity which could incite hatred and provoke offensive comments on social media.
“Anyone with information about this type of incident is urged to contact police on 101.”