Landmark Hospital to pay city