A man who admitted posting support for Hamas online has been spared jail and instead received a suspended sentence for a terrorism offence.
Ozain Yousef, 23, from Leeds, was arrested on November 24 last year on suspicion of supporting a proscribed terror organisation.
The arrest was made after police received a report that Yousef's social media account on X had posted extremist material supportive of Hamas following its attack on Israel on October 7.
Yousef was sentenced to 16 weeks' imprisonment suspended for two years at Westminster Magistrates' Court on Tuesday afternoon after pleading guilty to the offence last month.
His lawyer said he had been 'caught up in the toxic environment of social media' and was 'very ashamed of where that led him'.
The arrest was made after police received a report that Yousef's social media account on X had posted extremist material supportive of Hamas following its attack on Israel on October 7
Palestinians move towards the Nahal Oz border crossing with Israel, east of Gaza City, on October 7, 2023
Judge Daniel Sternberg ordered Yousef to provide the username and password of his social media accounts at the request of his supervising officer and to not delete the call or internet history from any of his devices.
Yousef was also ordered to pay £85 in costs and a victim surcharge of £154, as well as to complete 100 hours of unpaid work.
Judge Sternberg said the sentencing was 'not in any sense a commentary' on events in Israel and Gaza, adding: 'What is beyond any dispute is that Hamas is a proscribed organisation under the Terrorism Act 2000.'
He said Yousef had 'plainly engaged in persistent conduct' intended to show support for Hamas, adding that the prosecution had submitted this was done in a 'deliberate, provocative and malicious' way.
Judge Sternberg said it was important that Yousef had expressed regret for his actions to the Probation Service.
Addressing Yousef in his sentencing remarks, the judge said: 'This is an opportunity for you to show that what happened was out of character and there will be no repetition of this behaviour.'
Palestinians and militants from the Ezzedine al-Qassam Brigades run towards the Erez crossing between Israel and the northern Gaza Strip on October 7, 2023
Palestinians react as an Israeli military vehicle burns after it was hit by Palestinian gunmen who infiltrated areas of southern Israel, at the Israeli side of Israel-Gaza border, October 7, 2023
Palestinians break into the Israeli side of Israel-Gaza border fence after gunmen infiltrated areas of southern Israel, October 7, 2023
He added: 'You expressed embarrassment for bringing shame to your family through this incident.
'You admitted what you posted on social media was extreme but you didn't consider the wider impact.'
Defence lawyer Kara Frith told the court Yousef was 'adamant' he did not believe everything he posted and was 'truly remorseful'.
Ms Frith added: 'He cannot take back what he did, but he can and does apologise for any offence caused.
'He was caught up in the toxic environment of social media and is very ashamed of where that led him.'
Palestinians wave their national flag and celebrate by a destroyed Israeli tank at the Gaza Strip fence east of Khan Younis southern on October 7 2023
Palestinian Civil Defense teams and families try to find the bodies or remains of their relatives after Israel withdrew
Hamas' attack on October 7 was followed by Israel devastating invasion of Gaza
Destroyed buildings as Palestinians return to Khan Younis after the Israeli military pulled out troops from the southern Gaza Strip, leaving just one brigade in the area, April 9 2024
Following his arrest last year, Yousef's phone was seized by police and his X account was found to contain a large number of pro-Hamas images and videos, and one pro-Hezbollah video.
Between July 9 and September 26 2023, Yousef's posts made no reference to Palestine or the ongoing conflict in Gaza.
However, from October 9 2023 virtually all his posts related to the Gaza conflict, and subsequently transitioned into support for Hamas.
In one of those posts, Yousef, of Mexborough Place, Leeds, directly acknowledged Hamas and aligned himself as a 'brother' of the proscribed organisation.
In another, he re-posted an image of a sniper from the Qassam Brigade, the military wing associated with Hamas.