194 LIBERIAN LAW REPORTS Attorney for Montserrado County , I have learnt from him, and it so appears in the said judgment , that the writ was issued in the usual way on the peti- tion of a certain native man . The Republic of Liberia was not a party and of course was not represented . 2. A court clearly has not any power to give judgment against any per- son but the parties who are legally within its jurisdiction either by having voluntarily submitted themselves thereto, or having been legally served with some process issuing therefrom , and this point has been so decided by the Honorable the Supreme Court in the case R. R. Johnson , plaintiff in error , vs. J. G. Grimes , defendant in error . 3. I find also that the person against whom the writ issued has not yet been brought within the jurisdiction of the court by the service of the process , and consequently the case is not yet in the condition to be heard and deter- mined and there can , of course , be no valid judgment rendered . 4. Another question also presents itself , namely , the liability of the Gov- ernment to pay costs , and I am of opinion that according to the general principles of law and the rules of the Supreme Court (see Rule 36, sec . 4 ) His Honor the Chief Justice could have had no power to rule costs against the Republic even if it had been a party . 5. Without, however, entering at length into this question , and con- sidering only the stage of the case at which said judgment was given, and the fact that the law officers of the Republic were not notified to appear and defend its interests, I feel it my duty to say that in my opinion you ought not to pay said bill of costs . I return the papers enclosed by you and have the honor to be , Sir, Your Obedient Servant , HY. W. GRIMES , Atty. Gen. R. L. The Attorney General in his review seems to regard the practice on habeas corpus as being bound down to the arbitrary rules of the common law. Again , he looks upon it as a civil suit . He is , however , mistaken. A writ of habeas corpus is not the foundation of a civil suit, but, on the contrary , its use is to enable the court or judge to ascertain whether the prisoner's personal liberty is illegally restrained , and to release him if this be found proper to do . For every illegal restraint of a person's liberty is a public offence against which the Constitution of the Republic of Liberia provides the writ of habeas corpus , and upon which a summary examina- tion of the cause of detention may be had . But I shall proceed to show that the Attorney General's opinion is not supported by law . He says that because the writ was issued on a petition of a certain native man , the Republic