Opinion op the court by
JUDGE BARKERReversing.
The appellee, J. Morgan Gentry, instituted this action in tbe Fayette Circuit Court to recover of tbe city of Lexington (a city of tbe second class) tbe sum of $436.50, tbe aggregate amount of fees) claimed, to be due bim as jailer of Fayette county, for tbe beep of certain classes of prisoner^ committed to bis custody by tbe police court of Lexington. Tbe validity of this claim depends upon tbe construction of tbe following sections of tbe Kentucky Statutes:
Section 1730: “Tbe fees of tbe jailer shall be as follows: . . . For keeping and dieting prisoners in jail, when confined for an offense other than a felony or contempt of court, fifty cents per day; to be paid out of tbe county levy, unless confined for a breach of tbe by-laws or ordinances of a city or town, or for tbe violation of a statute, where the city or town gets tbe benefit of the fine; in that case to be paid by such city or town. For imprisoning and releasing a prisoner charged with a misdemeanor, sixty cents, to be paid out of tbe county levy, unless confined for a' breach of tbe by-law-s or ordinances of a city or town, or for a violation of statute, where tbe city or town gets tbe benefit of tbe fine; in that case to be- paid by such city or town. . . .”
*531Section 3147: “Said court (police court of cities of the second class) shall have exclusive original jurisdiction in all prosecutions for the violation of the ordinances of the city, and jurisdiction concurrent with the circuit court and justices of the peace of all pleas of the Commonwealth arising within the limits of the city, except cases of felony; and said court shall have power and authority- to take recognizances, from persons charged with offenses recognizable before said court, to appear and answer the same as the circuit courts-have, and a like power to enforce compliance with the same, and as to committing criminal offenders and sending them on for trial. Said court shall have all power given by the general law to examining courts.”
Section 3151: “That all persons committed by said court for default of surety for good behavior or t'o keep the peace, and all others whom the city is bound to maintain when committed to jail, shall be confined in the pity workhouse or prison, and they may be compelled to labor as many days, at such sum per day as may be necessary to defray the reasonable cost of their board, to be, from time to time, determined by the mayor and general council.”
Section 3155: “All fines and penalties and costs collected in the police court shall he for the use and benefit of the city, and the officer collecting such fines and penalties shall make daily reports of such collections to the treasurer, taking duplicate receipts therefor, one of which shall be delivered'to the auditor.”
Appellee, in his petition, sets out an itemized account of his claim, showing the names of the prisoners, the offenses with which they were charged, and of which they were convicted, and the number of days they were kept in jail. For appellant it.is contended that section 3151 forbids prisoners, for whose maintenance and keep the city would be liable *532under section 17-30, from being confined, except in-the city workhouse or prison, and therefore it is not responsible for the maintenance of any prisoners confined in the county jail. Appellee contends that, as the jailer of Fayette county, it was his duty to receive and keep any prisoners committed, to his custody by order of the police court; and that hei could not look behind the order of commitment ;• that, having kept the prisoners in question, and been put to the expense of their, maintenance, he is entitled to a judgment for the whole claim sued for.
Section 1730 fixes the liability of the city for the keep of .prisoners confined for a breach of the by-laws or ordinances of a city or town, or for the violation of a statute, where the city or town gets the benefit of the fine; and section 3155 provides that “all fineé and penalties and costs collected in the police court shall be for the use and benefit of the city.” It is therefore clear that the city is liable for the keep of all prisoners convicted in the police court, where there is a fine imposed, unless section 3151 protects it from such liability. Section 2226 of the Kentucky Statutes provides that “the jailer of each county shall receive and keep all persons in the jail who shall be lawfully committed thereto, until they are'lawfully discharged. I-Ie shall treat them with humanity,' and furnish them with proper food and lodging during their confinement. . . .” Where the court has jurisdiction of the subject-matter and of the person, the judgment can not be questioned collaterally, and therefore the jailer could not refuse to receive prisoners committed to his custody by a judgment of the police court, .where the court had jurisdiction to try the offense and of the person charged therewith. He could not go behind the judgment, and determine that the court should have sentenced the prisoner.to confinement in the city workhouse. *533While we are of opinion that section.3151 clearly requires, the court to sentence all prisoners for whose keep the city is liable to the city workhouse, still this was a matter wholly beyond the control of appellee, and, as these prisoners were sentenced to confinement in the city jail, and were kept by him, as it was his duty to do, the ■ provision of sectiorf 1760 fixes the liability of appellant to appellee. But there are a large number of prisoners (for whose keep appellant was made liable by the judgment for which it was not responsible. An examination of the' itemized account of appellee’s claim shows that many of the prisoners were charged with and convicted of offenses which are not punishable in whole or in part by fine. Section 1730 makes the city liable for the keep of prisoners only in cases where it gets the benefit of the fines, it being doubtless assumed by the Legislature that in the aggregate the fines collected would remunerate the city for the cost of the keep of the prisoners; but it was not intended that the city should be liable for' the keep of any prisoners where from the nature of the case it could not, in any way, be remunerated. Appellee’s account shows that many of the prisoners were charged with petit larceny, an offense for the punishment of which a fine, constitutes no part,- and therefore the city, under the provisions of section 1730, is not liable for their keep by the county jailer, when in his. custody either for appearance or* under sentence. The same conclusion applies to vagrancy, fugitives from justice, and to all statutory misdemeanors for the punishment of which no fine was or could be imposed. The trial judge should have disallowed the claim of appellee to the extent herein indicated.
Wherefore the judgment is reversed for proceedings consistent with this opinion.