reglab/housing_qa huggingface dataset:
NY Real Prop Actions L § 1321 (2021)
2021 New York Laws RPA - Real Property Actions and Proceedings Article 13 - Action to Foreclose a Mortgage 1321 - Default or Admission.

§  1321.  Default  or  admission.  1. If the defendant fails to answer   within the time allowed or the right of the plaintiff is admitted by the   answer, upon motion of the plaintiff,  the  court  shall  ascertain  and   determine  the amount due, or direct a referee to compute the amount due   to  the  plaintiff  and  to  such  of  the  defendants  as   are   prior   incumbrancers  of  the  mortgaged  premises,  and  to examine and report   whether the mortgaged premises can be sold in parcels and, if the  whole   amount  secured by the mortgage has not become due, to report the amount   thereafter to become due. Where the defendant is an infant, and has  put   in  a  general  answer  by  his guardian, or if any of the defendants be   absentees, the order of reference also shall direct the referee to  take   proof  of  the  facts  and  circumstances stated in the complaint and to   examine the plaintiff or his agent, on oath, as to  any  payments  which   have  been  made. The order of reference shall also include the name and   telephone number of the mortgage servicer for a  plaintiff  involving  a   mortgage foreclosure of a one- to four-family residential property.2. When he moves for judgment, the plaintiff shall show whether any of   the defendants who have not appeared are absentees.
NY Real Prop Actions L § 1325 (2021)
2021 New York Laws RPA - Real Property Actions and Proceedings Article 13 - Action to Foreclose a Mortgage 1325 - Receiver.

§  1325.  Receiver.  1.  Where  the action is for the foreclosure of a mortgage providing that a receiver  may  be  appointed  without  notice, notice of a motion for such appointment shall not be required.   2.  Where  a  receiver has been appointed, upon the application of the plaintiff or of any holder of  a  certificate  evidencing  an  undivided interest  in the mortgage or mortgage debt and upon proof that no answer has been interposed affecting the validity of the mortgage or the amount due thereon, or asserting any prior lien, or asserting a plea of  tender of  payment of the amount due, or which if sustained would affect in any way the right of the plaintiff to a judgment in foreclosure and  to  the payment  of  the  amount claimed by the plaintiff in his complaint to be due, the court may direct that the receiver of the  rents  appointed  in such action apply, during the pendency of the action, the rents received by him towards the payment of accrued interest on the mortgage, provided due   provision   shall  have  been  made  for  the  payment  of  taxes, administration expenses, fees and charges and such reserve as the  court may  direct.  Any  monies so paid over by the receiver shall be deducted from the amount of the judgment in said action.   2-a. Where a receiver has been appointed,  the  order  of  appointment shall  direct the owner or lessee of the mortgaged premises to turn over to the receiver all security deposits received by such owner  or  lessee and  shall  further  direct the receiver to hold the security subject to such disposition thereof as shall be provided in a further order of  the court  to  be  made and entered in the foreclosure action, in accordance with the provisions of section 7-105 of the general obligations law.   3. In a city with a population of one million or more persons an order appointing a receiver to receive the rents and  profits  of  a  multiple dwelling shall provide that the receiver:  (a)  register  with any municipal department as provided by applicable law; and  (b) expend rents and income and profits as  described  in  subdivision two  of  this  section,  except  that  a  priority shall be given to the correction of immediately hazardous and hazardous violations of  housing maintenance  laws  within  the  time  set  by  orders  of  any municipal department, or, if not practicable, seek a postponement of the time  for compliance.
NY Real Prop Actions L § 1331 (2021)
2021 New York Laws RPA - Real Property Actions and Proceedings Article 13 - Action to Foreclose a Mortgage 1331 - Notice of Pendency.

§  1331.  Notice  of  pendency.    The plaintiff, at least twenty days   before a final judgment directing a sale is rendered, shall file in  the   clerk's office of each county where the mortgaged property is situated a   notice  of  the pendency of the action, which shall specify, in addition   to other particulars required by law, the  date  of  the  mortgage,  the   parties thereto and the time and place of recording.
NY Real Prop Actions L § 1341 (2021)
2021 New York Laws RPA - Real Property Actions and Proceedings Article 13 - Action to Foreclose a Mortgage 1341 - Payment Into Court of Amount Due.

§  1341. Payment into court of amount due.  Where an action is brought   to foreclose a mortgage upon real property upon which any  part  of  the   principal or interest is due, and another portion of either is to become   due,  and the defendant pays into court the amount due for principal and   interest and the costs of the action, together with the expenses of  the   proceedings to sell, if any, the court shall:1.  Dismiss  the  complaint  without  costs  against plaintiff, if the   payment is made before judgment directing sale; or2. Stay all proceedings upon judgment, if the payment  is  made  after   judgment  directing sale and before sale; but, upon a subsequent default   in the payment of principal or interest, the court  may  make  an  order   directing  the enforcement of the judgment for the purpose of collecting   the sum then due.
NY Real Prop Actions L § 1352 (2021)
2021 New York Laws RPA - Real Property Actions and Proceedings Article 13 - Action to Foreclose a Mortgage 1352 - Judgment Foreclosing Right of Redemption.

§ 1352. Judgment foreclosing right of redemption.  Where real property   has  been  sold  pursuant  to  a  judgment  in  an action to foreclose a   mortgage, and an action is thereafter brought to foreclose or extinguish   a right of redemption in such real property, the  judgment,  instead  of   directing  a  sale  of  the  property, shall fix the right of any person   having a right of  redemption  therein  or  the  right  to  foreclose  a   subordinate  mortgage  or other lien and shall provide that a failure to   redeem or commence an action for the foreclosure  of  such  mortgage  or   other lien within such time shall preclude such person having a right of   redemption  or  the holder of such mortgage or other lien from redeeming   such property or foreclosing such mortgage or other lien, and thereafter   such person having a right of redemption or the holder of such  mortgage   or  other  lien shall be excluded from claiming any title or interest in   such property and all title or interests of such person having  a  right   of  redemption  in,  or the right to foreclose a subordinate mortgage or   other lien against such  property  shall  thereby  be  extinguished  and   terminated.
NY Real Prop Actions L § 1353 (2021)
2021 New York Laws RPA - Real Property Actions and Proceedings Article 13 - Action to Foreclose a Mortgage 1353 - Conveyance.

§  1353. Conveyance.  1. After the property has been sold, the officer   conducting  the  sale  shall  execute  a  deed  to  the  purchaser.  The   plaintiff,  or any other party, may become a purchaser. If the plaintiff   (or its affiliate, as defined in paragraph (a)  of  subdivision  one  of   section  six-l  of  the  banking law) is the purchaser, such party shall   place the property back on the market for sale or other  occupancy:  (a)   within  one hundred eighty days of the execution of the deed of sale, or   (b) within ninety days of completion  of  construction,  renovation,  or   rehabilitation   of  the  property,  provided  that  such  construction,   renovation,  or  rehabilitation  proceeded  diligently  to   completion,   whichever   comes   first,   provided  however,  a  court  of  competent   jurisdiction may grant an extension for good cause.2. Before a deed is executed to the  purchaser,  the  plaintiff  shall   file  the  mortgage  and  any  assignment not shown to have been lost or   destroyed in the office of the clerk, unless it is in a form  which  can   be  recorded;  in  which case it shall be recorded in the counties where   the lands are situated; the expense of filing  or  recording  and  entry   shall be allowed in the taxation of costs; and, if filed with the clerk,   he shall enter in the minutes the time of filing.3.  The  conveyance  vests  in the purchaser the same estate only that   would have vested in the mortgagee if the equity of redemption had  been   foreclosed.  Such a conveyance is as valid as if it were executed by the   mortgagor and mortgagee, and, except as provided  in  section  1315  and   subdivision 2 of section 1341, is an entire bar against each of them and   against  each party to the action who was duly summoned and every person   claiming from, through or under a party  by  title  accruing  after  the   filing of the notice of the pendency of the action.
NY Real Prop Actions L § 1354 (2021)
2021 New York Laws RPA - Real Property Actions and Proceedings Article 13 - Action to Foreclose a Mortgage 1354 - Distribution of Proceeds of Sale.

§  1354.  Distribution of proceeds of sale. 1.  The officer conducting   the sale shall pay, out of the proceeds, unless otherwise directed,  the   expenses  of  the  sale,  and pay to the plaintiff, or his attorney, the   amount of the debt, interest and costs, or so much as the proceeds  will   pay  and  take  the  receipt  of the plaintiff, or his attorney, for the   amount so paid, and file the same with his report of sale.2. The officer conducting the sale shall pay out of the  proceeds  all   taxes,  assessments,  and  water rates which are liens upon the property   sold, and redeem the property sold from  any  sales  for  unpaid  taxes,   assessments or water rates which have not apparently become absolute. In   any  city  having  a population of three hundred thousand or more or any   city having a population between one hundred  twenty-five  thousand  and   one  hundred  seventy-five  thousand,  such officer shall pay out of the   proceeds any liens or incumbrances placed by a city agency upon the real   property which have priority over  the  foreclosed  mortgage.  The  sums   necessary  to make those payments and redemptions are deemed expenses of   the sale. The provisions of this subdivision  shall  not  apply  to  any   judgment in an action wherein any municipal corporation of this state is   the plaintiff and the purchaser at the foreclosure sale thereunder.3.  The  officer  conducting  the  sale after fully complying with the   provisions of subdivisions one and  two  of  this  section  and  if  the   judgment  of  sale  has  so  directed  shall  pay  to  the holder of any   subordinate mortgage or his attorney from the  then  remaining  proceeds   the amount then due on such subordinate mortgage, or so much as the then   remaining  proceeds  will pay and take the receipt of the holder, or his   attorney for the amount so paid, and file the same with  his  report  of   sale.4.   All surplus moneys arising from the sale shall be paid into court   by the officer conducting the sale within five days after the same shall   be received.
NY Real Prop Actions L § 1355 (2021)
2021 New York Laws RPA - Real Property Actions and Proceedings Article 13 - Action to Foreclose a Mortgage 1355 - Report of Sale; Confirmation.

§  1355.  Report  of  sale;  confirmation. 1. Within thirty days after   completing  the  sale  and  executing  the  proper  conveyance  to   the   purchaser,  unless such time be extended by the court within said thirty   days, the officer making the sale shall file with the clerk  his  report   under  oath  of the disposition of the proceeds of the sale, accompanied   by the vouchers of the persons to whom payments were made.2. A motion to confirm such report of sale shall not  be  made  within   three  months  after  the filing of the report and shall in any event be   made not later than four months after the filing of such report,  except   that  if  there  be  no  surplus  moneys  arising  from  the sale of the   mortgaged premises under such judgment, an application for  confirmation   of  the  report  of  sale may be made at any time after the report shall   have been filed eight days. Where the report of sale shows surplus money   the party moving for confirmation of the report of  sale  shall  present   with  his  motion papers a proper voucher for the surplus moneys showing   that they have  been  paid  into  court,  a  certificate  of  the  clerk   specifying  the notices of claim to the surplus moneys, if any, so filed   with him, and an affidavit showing any other  unsatisfied  lien  on  the   property.
NY Real Prop Actions L § 1361 (2021)
2021 New York Laws RPA - Real Property Actions and Proceedings Article 13 - Action to Foreclose a Mortgage 1361 - Application for Surplus; Reference.

§ 1361. Application for surplus; reference. 1. Any person claiming the   surplus  moneys arising upon the sale of mortgaged premises, or any part   thereof, either in his own name, or by his attorney, at any time  before   the confirmation of the report of sale, may file with the clerk in whose   office  the  report  of  sale  is filed, a written notice of such claim,   stating the nature and extent of his claim and the address of himself or   his attorney.2. On the motion for confirmation, or at any time within three  months   thereafter,  on notice to all parties who have appeared in the action or   filed claims, on motion of any party to the action, or  any  person  who   has  filed  a  notice  of  claim  on  the  surplus moneys, the court, by   reference or otherwise, shall ascertain and report the amount due to him   or any other person who has a lien  on  such  surplus  moneys,  and  the   priority  of the several liens thereon and order distribution of surplus   moneys.3. The owner of the  equity  of  redemption,  or  any  party  who  has   appeared  in the action or any person who files a notice of claim or who   has a recorded lien against the property shall be given notice  by  mail   or in such other manner as the court shall direct, to attend any hearing   on disposition of surplus money.
NY Real Prop Actions L § 1362 (2021)
2021 New York Laws RPA - Real Property Actions and Proceedings Article 13 - Action to Foreclose a Mortgage 1362 - Payment of Surplus Out of Court.

§  1362.  Payment of surplus out of court. 1. Upon confirmation of the   report of sale, or upon such proceedings  as  are  provided  in  section   1361,  the court shall order the payment of the surplus proceeds of sale   out of court to such persons as are entitled thereto.2. If the property  sold  has  included  a  right  to  dower,  whether   inchoate  or  consummate, a tendency by curtesy, or any other estate for   life or years, the owner of such particular estate in the real  property   sold  is  entitled  to  receive from the surplus, in satisfaction of his   estate or interest, either a sum in gross  or  the  earnings  of  a  sum   invested for his benefit. The determination as to whether a sum in gross   or  the earnings of a sum invested shall be awarded to the owner of such   particular estate shall be governed by the  provisions  of  section  968   with respect to the proceeds of a sale in partition.3. If real property or an interest in real property which is liable to   be  disposed  of  as  prescribed  in article thirteen of the surrogate's   court act, be sold to satisfy a mortgage or other  lien  thereon,  which   mortgage  or  lien  accrued  during the decedent's lifetime, the surplus   money shall be paid in to the surrogate's court having  jurisdiction  to   issue  letters  testamentary or of administration upon the estate of the   decedent, in the following  cases:  (a)  If  eighteen  months  have  not   elapsed  since  the  date when letters testamentary or of administration   were first issued.  (b) If a proceeding for a judicial settlement of the   accounts of such executor or administrator  has  been  commenced  within   eighteen  months from the date of the issue of such letters and is still   pending. (c) If no such letters have been issued and two years have  not   elapsed since the death of the decedent.
NY Real Prop Actions L § 1391 (2021)
2021 New York Laws RPA - Real Property Actions and Proceedings Article 13 - Action to Foreclose a Mortgage 1391 - Proceeding for Share of Unknown Heirs.

§  1391.  Proceeding  for share of unknown heirs. Sections 991 and 992   shall apply to an action to foreclose a mortgage on real property.
NY Real Prop Actions L § 1392 (2021)
2021 New York Laws RPA - Real Property Actions and Proceedings Article 13 - Action to Foreclose a Mortgage 1392 - Foreclosure Actions Involving Abandoned Properties.

§  1392.  Foreclosure  actions  involving  abandoned  properties. If a   property has been  certified  abandoned  pursuant  to  section  nineteen   hundred  seventy-one  of  this  chapter,  or deemed vacant and abandoned   pursuant to section thirteen hundred nine of  this  article,  the  city,   village,  or  town  in  which  the  property  is  located may commence a   proceeding in a court of competent jurisdiction in the county  in  which   the  property  is located to compel any or all mortgagees to: (a) if the   note is in default, the mortgagee shall commence a foreclosure procedure   within three months and shall meet all deadlines to ensure the  case  is   ready to be moved to judgment within a reasonable time period but not to   exceed  one  year; (b) if a foreclosure has already been commenced, file   the necessary motions and within three months paperwork to move the case   to judgment foreclosure within three months; or (c) issue a  certificate   of discharge of the mortgage within three months and file a satisfaction   of the mortgage with the appropriate local office.
NY Real Prop Actions L § 1503 (2021)
2021 New York Laws RPA - Real Property Actions and Proceedings Article 15 - Action to Compel the Determination of a Claim to Real Property 1503 - Action to Determine Claims Where Foreclosure of Mortgage Was Void or Voidable.

§  1503.  Action to determine claims where foreclosure of mortgage was   void or voidable. When  real  property  has  been  sold  pursuant  to  a   judgment  in  an action to foreclose a mortgage under article 13 of this   chapter or pursuant to article 14 of this chapter, or has been  conveyed   to  the  mortgagee  or the designee of such mortgagee by deed in lieu of   foreclosure, and  it  appears  from  the  public  records  or  from  the   allegations  of the complaint that such judgment, sale or conveyance was   or may have been, for any  reason,  void  or  voidable  as  against  any   person, including an owner of the real property mortgaged, the purchaser   or  such  mortgagee or designee, or the successor of any such person, in   possession of such real property, may maintain an action as provided  in   this  article  to  determine  the  right of any person to set aside such   judgment, sale or conveyance or to enforce an equity of redemption or to   recover possession of the property, or the right of any junior mortgagee   to foreclose a mortgage. Such action may be maintained  even  though  an   action  against  the defendant to foreclose the mortgage under which the   judgment, sale or conveyance was made,  or  to  extinguish  a  right  of   redemption, would be barred by the statutes of limitation.
NY Real Prop Actions L § 1511 (2021)
2021 New York Laws RPA - Real Property Actions and Proceedings Article 15 - Action to Compel the Determination of a Claim to Real Property 1511 - Additional Parties.

§  1511.  Additional  parties.  1.  In  an  action  brought under this   article, the person in possession shall be made a party to  the  action,   and  when  such person claims the right of possession, or an interest in   the real property, under another, such other person shall also be made a   party.2. Where it appears to the court that a person  not  a  party  to  the   action  may have an estate or interest in the real property which may in   any manner be affected by the judgment, the court, upon  application  of   such  person,  or  of any party to the action, or on its own motion, may   direct that such person be made a party.
NY Real Prop Actions L § 1513 (2021)
2021 New York Laws RPA - Real Property Actions and Proceedings Article 15 - Action to Compel the Determination of a Claim to Real Property 1513 - Guardians Ad Litem.

§  1513. Guardians ad litem. If it shall appear by the complaint or is   otherwise made to appear to  the  court  at  any  time  before  a  final   judgment,  that  a defendant is or might be an infant, or incompetent to   manage himself or his affairs, or that a future interest in the affected   real property has been so limited that as yet there are neither  certain   nor presumptive owners thereof in being or ascertained, such court shall   appoint  a guardian ad litem who shall represent and protect such infant   or incompetent, or the possible interests of the person or  persons  who   eventually  may  become entitled to such real property or to an interest   therein under such limitation, and in case of the death  or  failure  or   inability  of  such  guardian  to act, a successor, who shall appear for   such infant or incompetent or for  such  possible  interests  until  the   termination of such action.
NY Real Prop Actions L § 1517 (2021)
2021 New York Laws RPA - Real Property Actions and Proceedings Article 15 - Action to Compel the Determination of a Claim to Real Property 1517 - Answer.

§  1517.  Answer.  The defendant may, in his answer, deny any material   allegation of the complaint controverted by him,  or  any  knowledge  or   information  thereof sufficient to form a belief, or may set forth facts   constituting a defense; and thereupon he may demand judgment  dismissing   the  complaint.    He may also set forth facts as a counterclaim for the   same cause of action; or the defendant may set forth facts showing  that   he  has  an  estate  or  interest in said property; and thereupon he may   demand any judgment to which he would be entitled in an  action  brought   by  him  to recover that estate or to enforce in any manner the interest   which he asserts in such property; or he may combine any two or more  of   said demands.