In an action to foreclose a mortgage, nonparty Samuel Osuji appeals from an order of the Supreme Court, Nassau County (Adams, J.), entered June 21, 2013, which, inter alia, granted that branch of the plaintiffs motion which was to strike the answer interposed by him, and enjoined him “from filing any further motions in the underlying action without prior written approval” of the court.
*1195Ordered that the order is affirmed, without costs or disbursements.
On this record, we conclude that the Supreme Court’s striking of the nonparty-appellant’s answer was proper (see Matter of Friends World Coll. v Nicklin, 249 AD2d 393 [1998]).
Under the circumstances of this case, the Supreme Court providently exercised its discretion in enjoining the nonpartyappellant from filing any further motions in the underlying action without prior written approval of the court (see Ram v Torto, 111 AD3d 814, 815-816 [2013]; Berson v Berson, 265 AD2d 439 [1999]).
The nonparty-appellant’s remaining contentions are without merit.
Dillon, J.E, Hall, Miller and Hinds-Radix, JJ., concur.