ORDERED that the order is affirmed, with costs.
A condition precedent to maintaining an action against the Town of Smithtown arising from a sidewalk defect is that written notice be filed with the Town Clerk at least 15 days before the accident (see, Smithtown Code §§ 245-13, 245-14). No such written notice was given here. Accordingly, the Supreme Court properly denied the plaintiffs' motion for summary judgment dismissing the defendant's affirmative defense of lack of prior written notice and granted the defendant's cross motion for summary judgment dismissing the complaint.