A Father-of-one told a garda that he would rape the officer's mother, sister and disabled niece after he became verbally aggressive in a Dublin station.
Richard McNally (31) was annoyed about a push bike which had been taken off him, but he had directed his anger at the wrong person, a court was told.
The defendant has a "somewhat short fuse and he needs to learn to lengthen it", his solicitor said.
Judge Grainne Malone said she could clearly see that the garda had been affected by what McNally had said to him, and she did not think anyone should have to put up with that level of abuse.
Judge Malone imposed a two-month prison sentence.
The defendant, of Bridgefoot Street in the south inner city, pleaded guilty to engaging in threatening, abusive and insulting behaviour, provoking a breach of the peace.
Dublin District Court heard the incident happened at Bridewell Garda Station last September 11.
Garda Joseph Melvin told the court that he was leaving the public office of the station with two other officers at around 1pm when McNally started verbally abusing him and threatened to "get me back".
Gda Melvin said McNally then threatened that he would rape the officer's "mother, sister and handicapped niece".
Gda Melvin said he did not know McNally, the defendant was not under arrest at the time and this was the garda's first time dealing with him.
The court heard McNally had 115 previous convictions, but had not been in trouble for some time.
Defence solicitor Paul Byrne said his client had a "bad temper" and a "somewhat short fuse" and he needed to learn to lengthen it.
Mr Byrne said McNally accepted that he had said horrific things and had behaved atrociously. He had written a letter of apology to the garda.
In the letter, McNally had made some reference to a bicycle which had been taken off him, but this had nothing to do with Gda Melvin, the court heard.
Judge Malone said gardai were affected by the abuse hurled at them, particularly when reference was made to family.
She said she had considered sentencing McNally to community service but she did not believe it was "sufficient punishment" and she jailed him for two months.