A man who threw a hamster in a cage out of a third floor window has been jailed for 12 months.
Andrew Thompson, 20, of Oakfield Drive, Dumfries, had previously been found guilty of the offence in the town in October last year.
Dumfries Sheriff Court heard how he flew into a rage and threw a number of items out of the flat window.
He was also found guilty of smashing items of furniture and attempting to strike a policeman with a knife.
The court had been told how he threw the hamster - which subsequently died - out of the window.
He also hurled a number of other items which could have resulted in people on the street below being struck or injured.
The court was told that Thompson's rage had been fuelled by alcohol.
Sheriff Kenneth Barr jailed him for a year but backdated the sentence to mid-October when he was taken into custody.