An 18-year-old has admitted robbing a Portuguese man who was then bitten in the face by a Staffordshire bull terrier.
Mold Crown Court heard the victim was punched by his attackers.
Glyn Edward Foulkes of Plas Madoc, Wrexham, was sentenced to two years and three months in a young offenders' institute at Mold Crown Court.
At a previous hearing, co-defendant Stephen Williams, 28, of Acrefair, was given a two and a half year sentence for his part in the robbery.
Diego Costa was robbed of a bracelet.
Judge Philip Hughes at Mold Crown Court said he accepted that the robbers had not set the dog on their victim.
But they had done nothing to call the dog back, the judge said.
Dog put down
The court heard Mr Costa had been to the post office at Plas Madoc on 18 January and was walking around the estate when he came across two men who had the dog with them.
Prosecutor David Maidstone said that the victim feared that something would happen and at one stage he was told to walk ahead. It was then he was attacked.
Foulkes grabbed him by his clothing to the chest area while his accomplice grabbed him and demanded his gold bracelet.
The accomplice said that Mr Costa had "five seconds to give it to me or I will kill you".
As he tried to get away and shouted for help, both attackers punched him, the court heard.
The dog then bit the victim in the face.
Defending barrister Des Parry said the dog had since been put down.
Judge Hughes said that it was "a cowardly and bullying attack" in the street when he and his accomplice were clearly drunk.