Please translate the given English sentence to Hindi
जहां, कोई व्यक्ति इस संहिता के अधीन अन्वे-ण, जांच या विचारण की अवधि के दौरान जिसके लिए विनिर्दि-ट अवधि सात वर्ग से अधिक है (ऐसा अपराध नहीं है जिसके लिए मृत्युदंड उस विधि के अधीन एक दंडकेरूप में विनिर्दि-ट किया गया है) उस विधि के अधीन उस अपराध के लिए विनिर्दि-ट की गई दंड की अधिकतम अवधि के आधे से अधिक की अवधि का निरोध भोग चुका है वह प्रतिभुओं सहित या रहित व्यक्तिगत बंध-पत्र पर न्यायालय द्वारा छोड़ दिया जाएगा.
Where a person has, during the period of investigation, inquiry or trial under this Code for which the punishment specified is upto seven years, undergone detention for a period extending up to one third of the maximum period of punishment specified for that offence under that law. he shall be released by the Court on his personal bond with or without sureties. (2) Where a person has, during the period of investigation, inquiry or trial under this Code for which the punishment specified is more than seven years (not being an offence for which the punishment of death has been specified as one of the punishments under that law), undergone detention for a period extending up to one-half of the maximum period of punishment specified for that offence under that law. he shall be released by the Court on his personal bond with or without sureties: