One of the witnesses knew the residence of the young man, she described the place to the officials and later that evening, the young man was arrested. He begs for mercy but they refused to listen to him.
The young man was asked to roduce the documents he had stolen and he said that he sold it to a rich merchant. He then takes them to the merchant's house. The officials went to the rich merchant's house and arrested him.
The two men faced trial and were both sentenced to death by hanging in reference to #6 of the Babylonian code.