All the pecuniary forfeitures incurred under this Act shall inure to the use of the party for whose benefit the order of habeas corpus was entered, and shall be sued for and recovered with costs, by the Attorney General or State's Attorney, in the name of the State, by complaint; and the amount, when recovered, shall, without any deduction, be paid to the party entitled thereto.
735 ILCS 5/10-133