While members of the Charleston Fire Department quickly unlocked Baghdadi's neck and leg from the barrel, they couldn't remove his right arm from the barrel.
Firefighters checked the barrel for gas and then called in a bomb-sniffing dog from the State Police to check the container for explosives. Once they had the all clear, firefighters cut the container apart using a reciprocating saw.
Baghdadi's arm still was stuck in a pipe, however, and Capitol police eventually loaded him in an SUV to take him to a local hospital for an X-ray.
On the way to the hospital, Baghdadi released his arm from the pipe after being told he would be billed for the X-ray, Messina said.
Baghdadi was being held at South Central Regional Jail on trespassing charges. Kanawha Magistrate Julie Yeager set his bond at $5,000. The terms of his release include staying off of the Capitol grounds, including the Governors Mansion, Messina said.
A group of high school students from Vermont also attended Wednesday's protest. Liam O'Connor, 18, said the group was summer camp for documentarians, traveling through West Virginia to make a film about state residents' relationship with their land.
"There are a lot of stereotypes about Appalachia, and we're trying to bust some of those, and see if some of them are true," he said.
O'Connor said the group was passing through Charleston on Wednesday when they saw the protest. They decided to stop and film the event.
The protest at the Governor's Mansion was half of a larger protest against coal slurry contamination. According to the official RAMPS website, two other protestors paddled onto a large slurry containment pond in Raleigh County, carrying banners that read "Slurry Poisons Appalachia" and "Gov. Tomblin Put Health Over Profit."
Tomblin wasn't home at the time of the protest, Messina said.