A man was charged with child endangerment after throwing his 13-month-old boy during an argument with officers in the Austin neighborhood on the West Side, police said.

Ahmad Boyd, 22, of the 7200 block of South Albany Avenue, was charged with endangering the life and health of a child, obstruction of traffic and resisting a peace officer, all misdemeanors, police said.

Boyd was with a large group standing in the street and sitting on cars outside near the intersection of Laverne Avenue and Quincy Street Saturday about 6:45 p.m. Sunday. As police approached, they saw Boyd holding a 13-month-old boy while sitting on a trunk of a car parked on the street, police said.

When officers asked if he would move to the sidewalk for the child’s safety, he said: “This is my car, I’m in front of my house, this is my baby, and I can do whatever the hell I want with him,’’ according to a police report.

As police got out of their car, Boyd refused to move to the sidewalk and told the officer “f--- you, b----" before throwing the child into “mid air” to another person he did not know, placing the child’s life in danger, the report said.

Boyd then ran way but police chased after him. He was apprehended after running through traffic and was subdued with a Taser, police said. Boyd was taken to Loretto Hospital and released.