Application for the relief shall be made to the Supreme Court or to the circuit court of the county in which the person in whose behalf the application is made, is imprisoned or restrained, or to the circuit court of the county from which such person was sentenced or committed. Application shall be made by complaint signed by the person for whose relief it is intended, or by some person in his or her behalf, and verified by affidavit.
735 ILCS 5/10-103