Police prosecutor Alistair Todd said Joumaah was driving his BMW northeast along Taradale Road, Napier, shortly before 10pm on February 5 when he accelerated heavily at a roundabout, losing traction.
He was pulled over by an officer who put on his red and blue lights, and who then asked Joumaah to surrender his keys.
When Joumaah refused, he was warned that he would be arrested for obstruction.
He still refused and the constable put handcuffs on Joumaah's right wrist.
As he did so, Joumaah pulled the constable into the car and began driving off down the road with the officer's legs hanging out the car door.
The constable repeatedly asked him to stop the car.
"The defendant refused and began weaving across the road and accelerating heavily," Todd said.
The constable was able to stop Joumaah "after a brief struggle".
When police asked Joumaah for an explanation, he said he did it "because Breanna was there watching".
In imposing the community work sentence, Judge Rea said 200 hours was a lot "but it needs to be imposed to reflect to you and others that you cannot behave in the way that you did".
The court was told that Joumaah had written a letter of apology to the police officer.