But the teen's family has reportedly filed a complaint against the officers involved after meeting with the Stockton branch of the NAACP.

The police spokesman said the teen cursed at the officer Tuesday morning and ignored his commands to get on the sidewalk, prompting the officer's response.

One witness captured the incident on video.

In the video, as other witnesses yell profanties in the background (edited out in the video below),  the officer is seen yelling and leaning into the teen with his baton.

Scroll down to watch the video on this page.

"At one point during the struggle, the boy places his hands on an officer's baton and says, 'Get the (expletive) off me,'" according to a local report.

The man who took the video, Edgar Avedaño, posted a description of what he saw on his Facebook page.

Here's the info of what happened. The kid got stopped for "jaywalking" when he barely stepped out of the bus he was 2 feet away from the sidewalk when the cop stopped him for "jaywalking". The cop was telling him to take a sit but the teen kept walking to his bus but the cop kept grabbing his arm & the kid took off the cop's hand off his arm so the cop took out his baton & that's when I started recording because everything happened too quick. He didn't have to hit the kid with the baton & no need to call about 20 cops. And as you can see his body cam is on the floor. Smh

After the teen's arrest, he was released to his mother.