The New Orleans Pelicans center was sentenced to three years of supervised release, 450 hours of community service and a year of weekly domestic violence classes for fighting with police in Los Angeles.
After pleading no contest to false imprisonment and resisting an officer, the eighth overall pick in the NBA draft was sentenced.
Rob Wilcox, a spokesman for the Los Angeles City Attorney's Office, said that Hayes would be ordered to pay yet-to-be-determined amounts of money.
Police were called to a domestic dispute at 3 a.m.
The police body camera video shows that when officers tried to question a woman inside the home, they used an electronic stun gun on him.
The woman was his girlfriend and she had been throwing things at him during the argument.
He was taken to a hospital after the fight. An officer was injured when he was thrown against a wall.
He started 28 games for the Pelicans last year. He had a 9.3 points and 4.5 rebound average.
Wilcox said that he didn't know the exact time frame for the community service requirement, but that it could be done in his home state of California. The domestic violence classes can be taken online.