Phillip Old tried to intimidate his partner into dropping assault charges against him, Ipswich Crown Court heard on Wednesday.
Old, 33, of Norman Road, Bury St Edmunds, admitted two assaults on Laura Collins, witness intimidation, possession of cannabis and criminal damage.
The court heard Ms Collins went to police in January to report Old had repeatedly banged her head on the floor.
Prosecuting, Robert Sadd said there had been other incidents against Ms Collins, who had four children with Old.
On January 23 Old had approached Ms Collins and warned her to drop proceedings or he would make allegations against her.
Mr Sadd said when police called at Old’s home he showed them a small package of cannabis hidden behind a washing machine. The court heard the cannabis had a street value of £110.
The criminal damage was to a phone worth £10 .
Defending, Ian James said Old had a history of substance and alcohol misuse which he was anxious to stop.
Judge Rupert Overbury told Old “You have got to understand that anyone in a personal relationship who uses violence towards a woman will receive a sentence of imprisonment.”
Judge Overbury said that the maximum sentences he could impose on Old were less than the time he had already spent in custody, which limited his powers.
Olds was given an 18 months community order with requirements for supervision and to participate in the better relationships programme. Fines of £200, or 14 days jail, were cancelled by the time already spent in custody.