A Rosyth man shouted and swore in his street threatening to stab people living there.

Christopher Godden, 36, of Willow Crescent, appeared in the dock at Dunfermline Sheriff Court.

He admitted that on March 26 at Willow Crescent he shouted, swore, acted in an aggressive manner and made threats of violence.

Depute fiscal Azrah Yousaf said Godden had been walking up and down his street shouting: “I’m going to f*** people up. Come down and I’ll stab you”.

He continued to rant, shouting: “I can do whatever the f*** I want. I’m ready to die. Come down here. Are you ready to die?”

He did not appear to be shouting at anyone in particular, added the depute.

Defence solicitor Alan Davie conceded his client’s behaviour had been “odd”.

He added: “He had consumed a considerable amount of alcohol before this.”

Sheriff Charles Macnair imposed a community payback order with 18 months of supervision and 101 hours of unpaid work.