A video of a naked Brazilian boy getting whipped with an electric cable is causing outrage in the country.

Two security guards whipped the 17-year-old boy for allegedly stealing four bars of chocolate from a São Paulo supermarket, according to The Guardian.

The disturbing video shows the naked boy getting whipped and gagged with his hands tied.  

“It is like a scene from centuries ago,” detective Pedro Luis de Souza told The Guardian. "They tied him up and whipped him until he promised to not do it again.”

According to The Guardian, the boy spoke with TV Globo, saying it was the third time he had been assaulted by the same two security guards after stealing from the supermarket.

The supermarket has removed the security guards, TV Globo reported.

“The company does not comply with any kind of illegality and will cooperate with the competent authorities involved in the investigation of the case in order to take the appropriate measures," the supermarket said in a statement.

Ariel de Castro Alves, a counselor with the State Human Rights Council, told TV Globo that he is following the investigation and demanding the guards be held accountable for “barbaric and cruel acts of torture.”

“There is overwhelming evidence of a crime of torture by security guards,"  de Castro Alves told TV Globo. "Torture occurs when someone is subjected, using violence or serious threat, to intense physical or mental suffering."

Humberto Adami, a Black lawyer from Rio de Janeiro, spoke with The Guardian and said the incident is connected to Brazil's history of slavery where Blacks were whipped daily. 

"That guards filmed the torture showed how sure they were they would not get caught," Adami told The Guardian. 

Seventy-five percent of Brazil’s 65,000 homicide victims in 2017 were Black or mixed race, according to The Guardian.