"That's what you get for being white," Kellie-Sierra Ramari Moses yelled repeatedly after she helped a friend beat up strangers in the street.
The victim and her friend were on Drews Ave in the early hours of March 28, when Moses and her friend began assaulting them.
Moses' friend was attacking one of the victims when Moses joined in, punching the other victim in the back of the head.
Police approached her as she pulled the victim's hair.
She then "turned her attention to the person her associate had assaulted" and began yelling "that's what you get for being white", police prosecutor Sergeant Rachel Willemsen told the Whanganui District Court on Tuesday.