According to legend, Girika persuaded Ashoka to design the torture chamber based on the suffering endured by people reborn in
Buddhist hell. The
Ashokavadana documents a long list of torture acts Girika designed and planned to force upon his prisoners including "prying open their mouths with an iron and pouring boiling copper down their throats". In the narrative of
Ashokavadana, Ashoka asked Girika to disguise the torture chamber as a beautiful and "enticing" palace full of amenities such as exclusive baths and to decorate it with flowers, fruit trees and many ornaments. The palatial torture chamber was artfully designed to make people long to just look at it, and even attract them to enter, and was referred to as the "beautiful gaol". According to the mythology, beneath the veneer of beauty, inside the exclusive mansion, torture chambers were constructed which were full of the most sadistic and cruel instruments of torture including furnaces producing molten metal for pouring on the prisoners. In the
Biographical Sutra of Emperor Ashoka the palace is described by the sentence: 'Emperor Ashoka constructed a hell'.
Ashokavadana refers to Girika as Chandagirika or Girika the Cruel. It appears that Girika overheard a Buddhist monk recite the
Balapanditasutta which contains vivid descriptions of the five tortures of hell, such as: He got his ideas of how to torture prisoners from there. The text describes Girika's attitude toward punishment as follows: "Such are the five great agonies, Girika reflected, and he began to inflict these same tortures on people in his prison". In addition, the
Balapanditasutta compares the King's torture methods to the tortures of hell. ==Miracle in the chamber==