■ of the city of New York, within the stoop line, for stands for the sale of. newspapers, periodicals, fruit and soda water: Hereafter each applicant for .a permit to occupy a portion of any street within the corporate limits of the city of New York, inside the stoop lines, with a stand or booth for the sale of any or either of the articles named in the title to this ordinance, * * * shall file an application in the office of the clerk of the common council, accompanied by the consent in writing, signed by the owner or owners in front of whose property it is proposed to erect such stand or booth, consenting thereto and stating that such consent is granted without payment there- . for, and that no rent or other compensation is to be exacted by or paid to the -owner of suclhpremises. Such stand must be within the stoop line,- and shall not be an obstruction to the free use of the street by the public, nor exceed ■.six feet long by four feet wide, and such permission shall continue only during the pleasure of the common council or until revoked as hereinafter provided. No rent or other compensation shall be paid by or on behalf of the licensee, - to or on behalf of the owner or occupant of the property in front of or adjacent to which it is proposed to erect such stand or booth. The dimensions of the stand must be confined strictly to the limits above specified.” At the end of the case defendant’s attorney moved for a dismissal of the complaint on the ground that the contract sued upon, being an illegal one, could not be enforced, and no cause of action could be based thereon. Said motion was denied, and defendant duly excepted to the ruling.
Argued before MCCARTHY, SCHUCHMAN, and OLOOTT, JJ.J. Reagar, for appellant.
N. O. Roberts, for respondent.
We think the court erred in this ruling, and that the motion to dismiss should have been granted. The legislature of a state may delegate to municipal corporations the power to make ordinances, and, when properly passed, they have the force and effect of a legislative act, within the limits prescribed for them. The lease demising part of the public highway, as set forth, is illegal, because it is unlawful under said ordinance, and cannot, therefore, be enforced. The inflexible rule is that no remedy can be had in a court ■of justice on an illegal contract. Bank v. King, 44 N. Y. 87 ; Brinkman v. Eisler (City Ct. N. Y.) 16 N. Y. Supp. 154 .
The judgment and order appealed from are reversed, and a new trial is granted, with costs to the appellant to abide the event. All ■concur.