A nonlethal round hit him in the pelvic area and he went straight to the ground. (Source: 3TV/CBS 5)

He spent Tuesday night in the emergency room for inhaling pepper spray and second-degree burns from picking up a hot can of tear gas. (Source: 3TV/CBS 5)

The man didn't want us to use his name during an interview on Wednesday. (Source: 3TV/CBS 5)

The man who got hit by a gas round during an anti-Trump rally has been arrested, according to police. (Source: 3TV/CBS 5)

Phoenix police said the man who was hit by a gas round during the Trump protest after kicking a gas can toward officers on Tuesday night was booked into jail on Thursday night.

[VIDEO: Perp walk: Man who was hit by nonlethal round during rally]

Joshua Stuart Cobin, 29, from Scottsdale, has been booked on three counts of aggravated assault on police and one count of unlawful assembly.

Police announced on Thursday evening they had arrested Cobin.

[READ MORE: Protester hit by gas round talks about his exchange with Phoenix police]

The man was caught on video, that has since gone viral, kicking a can of tear gas back at police officers. They returned the favor with a nonlethal round that hit him in the pelvic area and he went straight to the ground.

A man in a Colin Kaepernick jersey helped him out of the line of fire.

[RELATED: Phoenix PD release more details on protests, arrests outside Trump's rally in Phoenix]

He spent Tuesday night in the emergency room for inhaling pepper spray and second-degree burns from picking up a hot can of tear gas.

The incident happened after police said protesters threw rocks, bottles and gas at them so they used tear gas and pepper balls to disperse the crowd.

[RELATED: Activists: Police were aggressive, violent after Trump rally]

We talked to an attorney on Wednesday night who said the protester would likely not face any legal trouble for kicking the tear gas back at police since it would be tough to prove he tried to hurt an officer.

The protester said he didn't intend to hurt anyone.

[RAW VIDEO: Police, mayor talk about post-rally violence]

Click/tap here to download the free azfamily mobile app.

Copyright 2017 KPHO/KTVK (KPHO Broadcasting Corporation). All rights reserved.