Four Roseville police officers roughed up a man and used a Taser on him after a traffic stop last May even as he complied with their orders, according to a lawsuit.

The lawsuit, filed April 10 in federal court in St. Paul, seeks at least $500,000 in damages for what it describes as “the use of excessive force” and “false arrest” of 25-year-old Victor Yair Hernandez-Rivera.

Hernandez-Rivera, who is from Minneapolis, was slammed to the ground, handcuffed and shot with a stun gun multiple times, even though he did what officers told him to do, the lawsuit said.

The officers also mocked him for his limited ability to speak English, according to Paul Edlund, one of Hernandez-Rivera’s attorneys.

Roseville Police Lt. Lorne Rosand declined to comment on the matter Wednesday because of the pending litigation.

The incident took place during an early morning traffic stop May 26 on eastbound Minnesota 36 in Roseville. Hernandez-Rivera was a passenger in the front seat of a white sedan when a Roseville police officer pulled the car over for speeding.

The driver pulled off the highway. Police video shows him leaving the car and running from the scene. One officer gave chase, but did not catch him.

After about 90 seconds, the video shows Hernandez-Rivera slowly opening the passenger door and stepping out with his hands in front of his body.

An officer — identified in the lawsuit as Justin Gunderson — yelled “don’t (expletive) move,” ran up to him, grabbed him on or near the neck and threw him to the ground face-down.

The officer used enough force to shatter the cellphone in Hernandez-Rivera’s hand, according to the lawsuit.

The lawsuit goes on to describe this account of events:

Gunderson slammed Hernandez-Rivera’s head into the sidewalk a second time and shot his stun gun into the unresisting man’s back and legs.

Another officer, Erin Reski, responded to the scene. Even though Hernandez-Rivera was “motionless on the ground and being tasered,” Reski ran up to him yelling “stop resisting,” held his arm behind his back and kneed him in the side.

Gunderson then used his stun gun on Hernandez-Rivera two more times.

Two more officers — Kyle Eckert and Grant Dattilo — arrived on the scene. Even though Hernandez-Rivera was pinned on the ground and not struggling, Dattilo kicked him in the side and punched him twice, also yelling, “Stop resisting!”

The officers then handcuffed Hernandez-Rivera, put him against the vehicle and searched him. Reski started questioning him, but it became clear he did not understand what she was saying.

That prompted the officers to speak Spanish “in a very mocking and derogatory tone,” Edlund said — asking things in Spanish such as, “Are you stupid?” or “Don’t know, don’t know?”

“You wouldn’t treat your dog that way,” Edlund said.

The lawsuit said the officers then threw Hernandez-Rivera into the squad car face-first, with his pants — which had fallen down during the search — around his ankles.

His injuries included swelling and bleeding where the Taser prongs struck him, as well as swelling and bleeding to his head and face.

After the incident, Gunderson sought charges against Hernandez-Rivera for obstruction of the legal process with force or violence and fleeing a police officer on foot, according to the lawsuit.

Both charges were filed against him in November 2013, but dismissed in January.

The officers “violated Hernandez’s clearly established rights by using excessive and unreasonable force” against him, the lawsuit said.

The officers have 60 days from the date of the lawsuit’s filing to respond.

Marino Eccher can be reached at 651-228-5421. Follow him at twitter.com/marinoeccher.