A viral photo of a small child crying with his hands gripping the side of a cage that has sparked outrage is not actually from a detention shelter.

Posted on Twitter last week by filmmaker and journalist Jose Antonio Vargas, the photo is captioned: "This is what happens when a government believes people are “illegal.” Kids in cages." It has more than 24,000 retweets and 35,000 likes.

Below the photo, Vargas writes that he was still trying to find the source of the photo and that he had pulled it from a friend's Facebook timeline.

As the heart-wrenching photo made its way across the internet, many began to link its origins to U.S. Immigration and Customs Enforcement (ICE), drawing a parallel to the almost 2,000 migrant children who have been separated from their parents or guardians, the Department of Homeland Security reported last week.

However, the photo of the young boy was actually taken on June 10, 2018 at an event protesting the Trump administration's "zero-tolerance" policy. The boy is not a detainee. The protest featured signs reading: "If you were separated from your child, what would you do?" and "Hey Trump, what if it were your grandchildren in those dog cages? What would you do then?"

The Department of Homeland Security Secretary Kirstjen Nielsen said Monday that they do not have "a policy of separating families at the border."

The protest was hosted by the Texas chapter of the Brown Berets de Cemanahuac, an indigenous advocacy organization. The group posted on Facebook a photo gallery of the protest, with the little boy noticeably in the background. The viral image, however, was not featured.

"We demand the release of the children being held in a jail and being treated like animals. We will not go away until we have answers!" the Facebook post read.

Snopes debunked the photo of the child in the cage. The boy had not been detained by ICE, nor had it resurfaced from 2014 during the "Obama-era" as some internet commenters had claimed.

PolitiFact also interviewed the original photographer, Leroy Peña, who said in an interview that the boy had spotted his mother outside the space and began crying and that he was only in the cage for about 30 seconds.

Vargas, who originally tweeted the now-viral photo, said in response to criticism as to how his photo was captioned: "Read what I wrote. All I said the photo was this is what happens when a gov't considers people 'illegal.'"