Opinion by
Mb. Justice McCollum,In Commonwealth ex rel. John Fry v. The Board of Directors of the School District of Upper Swatara Township, decided at this term [the preceding case], we held that the inmates of an institution chartered for the care, support and education of poor and needy children, and maintained by state appropriations, voluntary contributions etc., did not, by their presence in it for the purpose of education and maintenance, become entitled to free admission to the schools of the district in which it was located. In other words, we held that the non-residents of the district did not acquire a residence therein for common school purposes by becoming inmates of the institution, for care, support and education. It is not necessary in this case to restate the grounds of that decision, or the reasons given for it. The facts' in the two cases are not exactly alike, but it is believed that the principle on which the one referred to was determined is applicable to and governs this. The object of the Children’s -Industrial Association of Harrisburg was the care, support and education of poor and needy children and there was no residence or class limitation in its charter. The Pennsylvania Memorial Home was chartered for the purpose, inter alia, “ of providing comfortable homes and maintenance for the children of deceased and permanently disabled Union soldiers,” but its.charter was silent as to the education of them. The home was located in the borough of Brookville, and the state made large appropriations for buildings and other equipment required for the performance of its charter work. Since its location there the state has.made an adequate appropriation for the education of its inmates. There is now, and was when the petition for the mandamus was filed, a good school established in the home, in which all its inmates who require school privileges are educated at the expense of the state. In thus providing for the education of the inmates of the home the state recognizes and avoids the injustice that would be done to the district in which it is located if they were admitted to its public schools and educated there at its expense and in abridgment of the rights of its o wn children to education therein.
The learned counsel for the relator apparently concede that the underlying principle of our common school system is that the children of the commonwealth shall exercise and enjoy the *610rights it confers in the districts in which they respectively reside, and that the duty of each district is to provide for the education of the children belonging to it. But they contend, first, that the relator has a residence in the Brookville district by virtue of his admission to and presence in the home, and, second, that he is entitled, under the act of April 18, 1893, P. L. 23, to free admission to the public schools of the district because he is a child “ of a soldier of the late war of the rebellion.” Their first contention is sufficiently answered by our decision in Pry’s case. It is claimed that the act on which their second contention is based is class legislation and therefore unconstitutional. The question thus raised need not be decided or considered now, because, in our view of the act, it is not applicable to the case presented by the petition and answer. It provides that the child of a Union soldier who shall be temporarily or otherwise in any school district of the commonwealth shall have the same right to instruction in the proper school of such district as the resident children have, although he may have come into the district for the purpose of attending such school, and the residence of his parents, guardian or other person entitled to the custody of him may be in another district. It was obviously intended to secure common school privileges to the children of soldiers who were obliged to seek employment and homes in families outside of the district of their parents’ residence, but we discover no manifestation of a purpose in it to include the children of any class for whose education, in the charitable institution of which they are inmates, the state has made adequate provision.
The learned court below thought that School District v. Pollard, 55 N. H. 503, afforded some support to the relator’s contention in this case, but we do not think so. In that case it was decided that the minor children of paupers supported at a county poor farm had the right to attend the public school in the district in which such county farm was located, on the ground that they were inhabitants of the district within the meaning of the statute regulating admission to the public schools. The county farm was taxed for school purposes in that district, and it is manifest, from the opinions of the judges, that if the state or county had specially provided for the education of the children upon it their application for free admis*611sion to the public school would have been denied. Besides, the decision in Pollard’s case was made with reference to the educational system of New Hampshire, and to what extent that conforms to the common school system of Pennsylvania does not appear from the report of it. It is not therefore an authority for the proposition that non-resident children for whose education the state has otherwise provided are entitled to free admission to the public schools of a district by reason of their presence in a charitable institution located within it. It is suggested, however, that the children may acquire the right to such admission by the misconduct or neglect of the managers of such institution. We do not think so. With the same propriety and reason it might be said the misconduct or neglect of the school directors of one district entitles the children residing in it to free admission to the schools of an adjoining district.
We think, upon due consideration of the facts of this case and the legislation pertinent to it, that it is governed by the principle on which Fry’s case was decided.
The order awarding a peremptory mandamus is reversed, and the petition therefor is dismissed at the costs of the relator.