WiNslow, J.
This is an action in equity, brought by the city, to obtain a mandatory injunction compelling the defendant to remove certain buildings owned and maintained by defendant, and which are alleged to encroach upon a public street in the city and obstruct a public alley, and *292which defendant refuses to remove. A general demurrer to the complaint was sustained on the ground that the remedy at law was adequate. It must now be considered as well settled in this state that a city or village, in its corporate capacity, may maintain an action in equity to prevent threatened obstructions or serious unlawful injuries to public streets. Waukesha Hygeia Mineral Spring Co. v. Waukesha, 83 Wis. 475" court="Wis." date_filed="1892-11-15" href="https://app.midpage.ai/document/waukesha-hygeia-mineral-spring-co-v-president-of-waukesha-8184100?utm_source=webapp" opinion_id="8184100">83 Wis. 475; Neshkoro v. Nest, 85 Wis. 126" court="Wis." date_filed="1893-05-02" href="https://app.midpage.ai/document/town-of-neshkoro-v-nest-8184257?utm_source=webapp" opinion_id="8184257">85 Wis. 126. No good reason is perceived why the equity powers of the court may not also be invoked to compel a restoration of a street unlawfully obstructed or encroached upon. In fact, such actions have been approved by this court in cases of obstructions unlawfully placed in streets by railway companies in building their tracks. Jamestown v. C., B. N. R. Co. 69 Wis. 648" court="Wis." date_filed="1887-11-01" href="https://app.midpage.ai/document/town-of-jamestown-v-chicago-burlington--northern-railroad-6605820?utm_source=webapp" opinion_id="6605820">69 Wis. 648; Oshkosh v. M. & L. W. R. Co. 74 Wis. 534" court="Wis." date_filed="1889-10-15" href="https://app.midpage.ai/document/city-of-oshkosh-v-milwaukee--lake-winnebago-railroad-8183164?utm_source=webapp" opinion_id="8183164">74 Wis. 534. The principle on which these cases rest applies to an obstruction or an encroachment maintained by a lot-owner. In both cases there is an invasion of the public right and a duty resting on the defendant to remove the unlawful structure. We think the action is properly brought.
By the Court.— Order reversed, and action remanded • with directions to overrule the demurrer.