An assault suspect who was shouting at officers while smoking and holding what appeared to be a cellphone was shot with a stun gun by police in Anaheim Wednesday night.

Police responded to Manzanita Park around 11:30 p.m. after receiving a report of an assault in progress, Anaheim Police Department Sgt. Carringer said.

Arriving officers located two suspects, both described as 26-year-old men.

The first suspect was taken into custody without incident, Carringer said.

The second suspect did not comply with officers orders.

Video showed the man standing near officers with what looked like a cellphone in one hand while his other hand was raised in the air.

At one point, the man can be seen smoking something and then shouting at officers.

The man eventually got on his knees but continued to argue with officers who used a stun gun to bring him to the ground.

The man was able to walk to a patrol car after being taking into custody by officers.

A handgun was later located near the suspect, Carringer said.

The two men also had a child with them at the park, Carringer said.

The child was not injured and was taken to protective services.

Both suspects were arrested on suspicion of child endangerment and weapon violations, Carringer said.

No information regarding the original assault victim was available.