<?xml version='1.0' encoding='utf-8'?>
<title article="grp" title_number="9" title_name="Statutory Liens on Real Property">
  <section article="grp" article_name="Real Property" number="9-101" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="1" subtitle_name="Mechanics' Liens">
    <level label="a">
      <text>In this subtitle the following words have the meanings indicated.</text>
    </level>
    <level label="b">
      <text>“Building” includes any unit of a nonresidential building that is leased or separately sold as a unit.</text>
    </level>
    <level label="c">
      <text>“Contract” means an agreement of any kind or nature, express or implied, for doing work or furnishing material, or both, for or about a building as may give rise to a lien under this subtitle.</text>
    </level>
    <level label="d">
      <text>“Contractor” means a person who has a contract with an owner.</text>
    </level>
    <level label="e">
      <text>“Land” means the land to which a lien extends under this subtitle or the land within the boundaries established by proceedings in accordance with the Maryland Rules. “Land” includes the improvements to the land.</text>
    </level>
    <level label="f">
      <text>“Owner” means the owner of the land except that, when the contractor executes the contract with a tenant for life or for years, “owner” means the tenant.</text>
    </level>
    <level label="g">
      <text>“Subcontractor” means a person who has a contract with anyone except the owner or his agent.</text>
    </level>
  </section>
  <section article="grp" article_name="Real Property" number="9-102" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="1" subtitle_name="Mechanics' Liens">
    <level label="a">
      <text>Every building erected and every building repaired, rebuilt, or improved to the extent of 15 percent of its value is subject to establishment of a lien in accordance with this subtitle for the payment of all debts, without regard to the amount, contracted for work done for or about the building and for materials furnished for or about the building, including the drilling and installation of wells to supply water, the construction or installation of any swimming pool or fencing, the sodding, seeding or planting in or about the premises of any shrubs, trees, plants, flowers or nursery products, the grading, filling, landscaping, and paving of the premises, the provision of building or landscape architectural services, engineering services, land surveying services, or interior design services that pertain to interior construction and are provided by a certified interior designer, and the leasing of equipment, with or without an operator, for use for or about the building or premises.</text>
    </level>
    <level label="b">
      <text>If the owner of land or the owner’s agent contracts for the installation of waterlines, sanitary sewers, storm drains, or streets to service all lots in a development of the owner’s land, each lot and its improvements, if any, are subject, on a basis pro rata to the number of lots being developed, to the establishment of a lien as provided in subsection (a) of this section for all debts for work and material in connection with the installation.</text>
    </level>
    <level label="c">
      <text>Any machine, wharf, or bridge erected, constructed, or repaired within the State may be subjected to a lien in the same manner as a building is subjected to a lien in accordance with this subtitle.</text>
    </level>
    <level label="d">
      <text>However, a building or the land on which the building is erected may not be subjected to a lien under this subtitle if, prior to the establishment of a lien in accordance with this subtitle, legal title has been granted to a bona fide purchaser for value.</text>
    </level>
    <level label="e">
      <text>The filing of a petition under § 9–105 of this subtitle shall constitute notice to a purchaser of the possibility of a lien being perfected under this subtitle.</text>
    </level>
  </section>
  <section article="grp" article_name="Real Property" number="9-103" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="1" subtitle_name="Mechanics' Liens">
    <level label="a">
      <text>A lien established in accordance with this subtitle shall extend to the land covered by the building and to as much other land, immediately adjacent and belonging in like manner to the owner of the building, as may be necessary for the ordinary and useful purposes of the building. The quantity and boundaries of the land may be designated as provided in this section.</text>
    </level>
    <level label="b">
      <text>An owner of any land who desires to erect any building or to contract with any person for its erection may define, in writing, the boundaries of the land appurtenant to the building before the commencement of construction, and then file the boundaries for record with the clerk of the circuit court for the county. The designation of boundaries shall be binding on all persons. If the boundaries are not designated before the commencement of a building, the owner of the land or any person having a lien or encumbrance on the land by mortgage, judgment, or otherwise entitled to establish a lien in accordance with this subtitle may apply, by written petition, to the circuit court for the county to designate the boundaries.</text>
    </level>
    <level label="c">
      <level label="1">
        <text>If a building is commenced and not finished, a lien established in accordance with this subtitle shall attach to the extent of the work done or material furnished.</text>
      </level>
      <level label="2">
        <text>If a building is erected or repaired, rebuilt, or improved to the extent of 25 percent of its value, by a tenant for life or years or by a person employed by the tenant, any lien established in accordance with this subtitle applies only to the extent of the tenant’s interest.</text>
      </level>
    </level>
  </section>
  <section article="grp" article_name="Real Property" number="9-104" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="1" subtitle_name="Mechanics' Liens">
    <level label="a">
      <level label="1">
        <text>A subcontractor doing work or furnishing materials or both for or about a building other than a single family dwelling being erected on the owner’s land for his own residence is not entitled to a lien under this subtitle unless, within 120 days after doing the work or furnishing the materials, the subcontractor gives written notice of an intention to claim a lien substantially in the form specified in subsection (b) of this section.</text>
      </level>
      <level label="2">
        <text>A subcontractor doing work or furnishing materials or both for or about a single family dwelling being erected on the owner’s land for his own residence is not entitled to a lien under this subtitle unless, within 120 days after doing work or furnishing materials for or about that single family dwelling, the subcontractor gives written notice of an intention to claim a lien in accordance with subsection (a)(1) of this section and the owner has not made full payment to the contractor prior to receiving the notice.</text>
      </level>
    </level>
    <level label="b">
      <text>The form of notice is sufficient for the purposes of this subtitle if it contains the information required and is substantially in the following form:</text>
      <text>“Notice to Owner or Owner’s Agent of </text>
      <text>Intention to Claim a Lien</text>
      <text>………………………………………………………………………………………………</text>
      <text>(Subcontractor) </text>
      <text>did work or furnished material for or about the building generally designated or briefly described as</text>
      <text>………………………………………………………………………………………………</text>
      <text>………………………………………………………………………………………………</text>
      <text>The total amount earned under the subcontractor’s undertaking to the date hereof is $ ......... of which $ ......... is due and unpaid as of the date hereof. The work done or materials provided under the subcontract were as follows: (insert brief description of the work done and materials furnished, the time when the work was done or the materials furnished, and the name of the person for whom the work was done or to whom the materials were furnished). </text>
      <text>I do solemnly declare and affirm under the penalties of perjury that the contents of the foregoing notice are true to the best of the affiant’s knowledge, information, and belief.</text>
      <text>…………………………………………………………</text>
      <text>(Individual)</text>
      <text>on behalf of    …………………………………………………………</text>
      <text>(Subcontractor)</text>
      <text>(Insert if subcontractor is not an individual)”</text>
    </level>
    <level label="c">
      <text>The notice is effective if given by registered or certified mail, return receipt requested, or personally delivered to the owner by the claimant or his agent.</text>
    </level>
    <level label="d">
      <text>If there is more than one owner, the subcontractor may comply with this section by giving the notice to any of the owners.</text>
    </level>
    <level label="e">
      <text>If notice cannot be given on account of absence or other causes, the subcontractor, or his agent, in the presence of a competent witness and within 120 days, may place the notice on the door or other front part of the building. Notice by posting according to this subsection is sufficient in all cases where the owner of the property has died and his successors in title do not appear on the public records of the county.</text>
    </level>
    <level label="f">
      <level label="1">
        <text>On receipt of notice given under this section, the owner may withhold, from sums due the contractor, the amount the owner ascertains to be due the subcontractor giving the notice.</text>
      </level>
      <level label="2">
        <text>If the subcontractor giving notice establishes a lien in accordance with this subtitle, the contractor shall receive only the difference between the amount due him and that due the subcontractor giving the notice.</text>
      </level>
      <level label="3">
        <text>Notwithstanding any other provision of this section to the contrary, the lien of the subcontractor against a single family dwelling being erected on the land of the owner for his own residence shall not exceed the amount by which the owner is indebted under the contract at the time the notice is given.</text>
      </level>
    </level>
  </section>
  <section article="grp" article_name="Real Property" number="9-105" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="1" subtitle_name="Mechanics' Liens">
    <level label="a">
      <text>In order to establish a lien under this subtitle, a person entitled to a lien shall file proceedings in the circuit court for the county where the land or any part of the land is located within 180 days after the work has been finished or the materials furnished. The proceedings shall be commenced by filing with the clerk, the following:</text>
      <level label="1">
        <text>A petition to establish the mechanic’s lien, which shall set forth at least the following:</text>
        <level label="i">
          <text>The name and address of the petitioner;</text>
        </level>
        <level label="ii">
          <text>The name and address of the owner;</text>
        </level>
        <level label="iii">
          <text>The nature or kind of work done or the kind and amount of materials furnished, the time when the work was done or the materials furnished, the name of the person for whom the work was done or to whom the materials were furnished, and the amount or sum claimed to be due, less any credit recognized by the petitioner;</text>
        </level>
        <level label="iv">
          <text>A description of the land, including a statement whether part of the land is located in another county, and a description adequate to identify the building; and</text>
        </level>
        <level label="v">
          <text>If the petitioner is a subcontractor, facts showing that the notice required under § 9–104 of this subtitle was properly mailed or served upon the owner, or, if so authorized, posted on the building. If the lien is sought to be established against two or more buildings on separate lots or parcels of land owned by the same person, the lien will be postponed to other mechanics’ liens unless the petitioner designates the amount he claims is due him on each building;</text>
        </level>
      </level>
      <level label="2">
        <text>An affidavit by the petitioner or some person on his behalf, setting forth facts upon which the petitioner claims he is entitled to the lien in the amount specified; and</text>
      </level>
      <level label="3">
        <text>Either original or sworn, certified, or photostatic copies of material papers or parts thereof, if any, which constitute the basis of the lien claim, unless the absence thereof is explained in the affidavit.</text>
      </level>
    </level>
    <level label="b">
      <text>The clerk shall docket the proceedings as an action in equity, and all process shall issue out of and all pleadings shall be filed in the one action.</text>
    </level>
  </section>
  <section article="grp" article_name="Real Property" number="9-106" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="1" subtitle_name="Mechanics' Liens">
    <level label="a">
      <level label="1">
        <text>When a petition to establish a mechanic’s lien is filed, the court shall review the pleadings and documents on file and may require the petitioner to supplement or explain any of the matters therein set forth. If the court determines that the lien should attach, it shall pass an order that directs the owner to show cause within 15 days from the date of service on the owner of a copy of the order, together with copies of the pleadings and documents on file, why a lien upon the land or building and for the amount described in the petition should not attach. Additionally, the order shall inform the owner that:</text>
        <level label="i">
          <text>He may appear at the time stated in the order and present evidence in his behalf or may file a counteraffidavit at or before that time; and</text>
        </level>
        <level label="ii">
          <text>If he fails to appear and present evidence or file a counteraffidavit, the facts in the affidavit supporting the petitioner’s claim shall be deemed admitted and a lien may attach to the land or buildings described in the petition.</text>
        </level>
      </level>
      <level label="2">
        <text>If the owner desires to controvert any statement of fact contained in the affidavit supporting the petitioner’s claim, he must file an affidavit in support of his answer showing cause. The failure to file such opposing affidavit shall constitute an admission for the purposes of the proceedings of all statements of fact in the affidavit supporting the petitioner’s claim, but shall not constitute an admission that such petition or affidavit in support thereof is legally sufficient.</text>
      </level>
      <level label="3">
        <text>An answer showing cause why a lien should not be established in the amount claimed shall be set down for hearing at the earliest possible time.</text>
      </level>
    </level>
    <level label="b">
      <level label="1">
        <text>If the pleadings, affidavits and admissions on file, and the evidence, if any, show that there is no genuine dispute as to any material fact and that the lien should attach as a matter of law, then a final order shall be entered establishing the lien for want of any cause shown to the contrary. Further, if it appears that there is no genuine dispute as to any portion of the lien claim, then the validity of that portion shall be established and the action shall proceed only on the disputed amount of the lien claim.</text>
      </level>
      <level label="2">
        <text>If the pleadings, affidavits and admissions on file and the evidence, if any, show that there is no genuine dispute as to any material fact and that the petitioner failed to establish his right to a lien as a matter of law, then a final order shall be entered denying the lien for cause shown.</text>
      </level>
      <level label="3">
        <text>If the court determines from the pleadings, affidavits and admissions on file, and the evidence, if any, that the lien should not attach, or should not attach in the amount claimed, as a matter of law, by any final order, but that there is probable cause to believe the petitioner is entitled to a lien, the court shall enter an interlocutory order which:</text>
        <level label="i">
          <text>Establishes the lien;</text>
        </level>
        <level label="ii">
          <text>Describes the boundaries of the land and the buildings to which the lien attaches;</text>
        </level>
        <level label="iii">
          <text>States the amount of the claim for which probable cause is found;</text>
        </level>
        <level label="iv">
          <text>Specifies the amount of a bond that the owner may file to have the land and building released from the lien;</text>
        </level>
        <level label="v">
          <text>May require the claimant to file a bond in an amount that the court believes sufficient for damages, including reasonable attorney’s fees; and</text>
        </level>
        <level label="vi">
          <text>Assigns a date for the trial of all the matters at issue in the action, which shall be within a period of six months. The owner or any other person interested in the property, however, may, at any time, move to have the lien established by the interlocutory order modified or dissolved.</text>
        </level>
      </level>
    </level>
    <level label="c">
      <text>The amount of and the surety on any bond shall be determined and approved pursuant to the Maryland Rules except as set forth in this subtitle. The petitioner, or any other person interested in the property, however, if not satisfied with the sufficiency of a surety or with the amount of any bond given, may, at any time before entry of a final decree, apply to the court for an order requiring an additional bond, and upon notice to the other parties involved, the court may order the giving of such additional bond as it may deem proper. In lieu of filing bond, any party may deposit money in an amount equal to the amount of the bond which would otherwise be required, pursuant to the Maryland Rules.</text>
    </level>
    <level label="d">
      <text>Until a final order is entered either establishing or denying the lien, the action shall proceed to trial on all matters at issue, as in the case of any other proceedings in equity.</text>
    </level>
  </section>
  <section article="grp" article_name="Real Property" number="9-107" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="1" subtitle_name="Mechanics' Liens">
    <level label="a">
      <text>If any part of the land is located within another county and the petitioner desires that the lien attach to the land in that county, the petitioner shall file a certified copy of the docket entries, of the court order, and of any required bond with the clerk of the circuit court for that county.</text>
    </level>
    <level label="b">
      <text>A lien attaches to the land or building in a county as of the time the documents required to be filed under subsection (a) of this section are filed with the clerk of the circuit court of that county.</text>
    </level>
  </section>
  <section article="grp" article_name="Real Property" number="9-108" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="1" subtitle_name="Mechanics' Liens">
    <text>If all or any part of the land or buildings against which a mechanic’s lien has been established pursuant to this subtitle shall be sold under foreclosure or a judgment, execution or any other court order, all liens and encumbrances on such property shall be satisfied in accordance with their priority, subject to the limitation in the next sentence of this section. If the proceeds of the sale are insufficient to satisfy all liens established pursuant to this subtitle, then all proceeds available to satisfy each such lien shall be stated by the court auditor as one fund, and the amount to be disbursed to satisfy each lien established pursuant to this subtitle shall bear the same proportion to that fund as the amount of such lien bears to the total amount secured by all such liens, without regard to priority among such liens.</text>
  </section>
  <section article="grp" article_name="Real Property" number="9-109" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="1" subtitle_name="Mechanics' Liens">
    <text>The right to enforce any lien established under this subtitle expires at the end of one year from the day on which the petition to establish the lien was first filed. During this time the claimant may file a petition in the lien proceedings to enforce the lien or execute on any bond given to obtain a release of the land and building from the lien. If such petition is filed within the one-year period, the right to a lien or the lien, or any bond given to obtain a release of lien, shall remain in full force and effect until the conclusion of the enforcement proceedings and thereafter only in accordance with the decree entered in the case.</text>
  </section>
  <section article="grp" article_name="Real Property" number="9-110" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="1" subtitle_name="Mechanics' Liens">
    <text>No person having the right to establish a mechanics’ lien waives the right by granting a credit, or receiving a note or other security, unless it is received as payment or the lien right is expressly waived.</text>
  </section>
  <section article="grp" article_name="Real Property" number="9-111" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="1" subtitle_name="Mechanics' Liens">
    <text>Nothing in this subtitle affects the right of any person, to whom any debt is due for work done or material furnished, to maintain any personal action against the owner of the building or any other person liable for the debt.</text>
  </section>
  <section article="grp" article_name="Real Property" number="9-112" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="1" subtitle_name="Mechanics' Liens">
    <text>This law is remedial and shall be so construed to give effect to its purpose. Any amendment shall be made in the proceedings, commencing with the claim or lien to be filed and extending to all subsequent proceedings, as may be necessary and proper. However, the amount of the claim or lien filed may not be enlarged by amendment.</text>
  </section>
  <section article="grp" article_name="Real Property" number="9-113" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="1" subtitle_name="Mechanics' Liens">
    <level label="a">
      <text>An executory contract between a contractor and any subcontractor that is related to construction, alteration, or repair of a building, structure, or improvement may not waive or require the subcontractor to waive the right to:</text>
      <level label="1">
        <text>Claim a mechanics’ lien; or</text>
      </level>
      <level label="2">
        <text>Sue on a contractor’s bond.</text>
      </level>
    </level>
    <level label="b">
      <text>A provision in an executory contract between a contractor and a subcontractor that is related to construction, alteration, or repair of a building, structure, or improvement and that conditions payment to the subcontractor on receipt by the contractor of payment from the owner or any other third party may not abrogate or waive the right of the subcontractor to:</text>
      <level label="1">
        <text>Claim a mechanics’ lien; or</text>
      </level>
      <level label="2">
        <text>Sue on a contractor’s bond.</text>
      </level>
    </level>
    <level label="c">
      <text>Any provision of a contract made in violation of this section is void as against the public policy of this State.</text>
    </level>
  </section>
  <section article="grp" article_name="Real Property" number="9-114" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="1" subtitle_name="Mechanics' Liens">
    <level label="a">
      <text>At the time of settlement or payment in full between a contractor and an owner, the contractor shall give to the owner a signed release of lien from each material supplier and subcontractor who provided work or materials under the contract.</text>
    </level>
    <level label="b">
      <text>An owner is not subject to a lien and is not otherwise liable for any work or materials included in the release under subsection (a) of this section.</text>
    </level>
  </section>
  <section article="grp" article_name="Real Property" number="9-201" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="2" subtitle_name="Trust Relationships in the Construction Industry">
    <level label="a">
      <text>For the purposes of this subtitle, “managing agent” means an employee of a contractor or subcontractor who is responsible for the direction over or control of money held in trust by the contractor or subcontractor under subsection (b) of this section.</text>
    </level>
    <level label="b">
      <level label="1">
        <text>Any money paid under a contract by an owner to a contractor, or by the owner or contractor to a subcontractor for work done or materials furnished, or both, for or about a building by any subcontractor, shall be held in trust by the contractor or subcontractor, as trustee, for those subcontractors who did work or furnished materials, or both, for or about the building, for purposes of paying those subcontractors.</text>
      </level>
      <level label="2">
        <text>An officer, director, or managing agent of a contractor or subcontractor who has direction over or control of money held in trust by a contractor or subcontractor under paragraph (1) of this subsection is a trustee for the purpose of paying the money to the subcontractors who are entitled to it.</text>
      </level>
    </level>
    <level label="c">
      <level label="1">
        <text>Nothing contained in this subtitle shall be construed as requiring money held in trust by a contractor or subcontractor under subsection (b) of this section to be placed in a separate account.</text>
      </level>
      <level label="2">
        <text>If a contractor or subcontractor commingles money held in trust under this section with other money, the mere commingling of the money does not constitute a violation of this subtitle.</text>
      </level>
    </level>
  </section>
  <section article="grp" article_name="Real Property" number="9-202" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="2" subtitle_name="Trust Relationships in the Construction Industry">
    <text>Any officer, director, or managing agent of any contractor or subcontractor, who knowingly retains or uses the money held in trust under § 9–201 of this subtitle, or any part thereof, for any purpose other than to pay those subcontractors for whom the money is held in trust, shall be personally liable to any person damaged by the action.</text>
  </section>
  <section article="grp" article_name="Real Property" number="9-204" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="2" subtitle_name="Trust Relationships in the Construction Industry">
    <level label="a">
      <text>This subtitle applies to contracts subject to Title 17, Subtitle 1 of the State Finance and Procurement Article, known as the “Maryland Little Miller Act”, as well as property subject to § 9-102 of this title.</text>
    </level>
    <level label="b">
      <text>This subtitle does not apply to:</text>
      <level label="1">
        <text>A contract for the construction and sale of a single family residential dwelling; or</text>
      </level>
      <level label="2">
        <text>A home improvement contract by a contractor licensed under the Maryland Home Improvement Law.</text>
      </level>
    </level>
    <level label="c">
      <text>In this subtitle, “owner”, “contractor”, and “subcontractor” have the same meanings as in § 9-101 of this title.</text>
    </level>
  </section>
  <section article="grp" article_name="Real Property" number="9-301" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="3" subtitle_name="Construction Contracts">
    <level label="a">
      <text>In this subtitle the following words have the meanings indicated.</text>
    </level>
    <level label="b">
      <level label="1">
        <text>“Contract” means an agreement of any kind or nature, express or implied, for doing work or furnishing materials, or both, for or about a building.</text>
      </level>
      <level label="2">
        <text>“Contract” includes an agreement for:</text>
        <level label="i">
          <text>The erection, repair, rebuilding, or improvement of a building;</text>
        </level>
        <level label="ii">
          <text>The drilling and installation of wells to supply water;</text>
        </level>
        <level label="iii">
          <text>The construction or installation of any swimming pool or fencing;</text>
        </level>
        <level label="iv">
          <text>The grading, filling, landscaping, and paving of the premises;</text>
        </level>
        <level label="v">
          <text>The installation of waterlines, sanitary sewers, storm drains, or streets; or</text>
        </level>
        <level label="vi">
          <text>The erection, repair, rebuilding, or improvement of a wharf.</text>
        </level>
      </level>
    </level>
    <level label="c">
      <text>“Contractor” means a person who has a contract with an owner.</text>
    </level>
    <level label="d">
      <text>“Owner” means:</text>
      <level label="1">
        <text>The owner of the land; or</text>
      </level>
      <level label="2">
        <text>An owner’s tenant for life or for years, provided the tenant enters into the contract with the contractor.</text>
      </level>
    </level>
    <level label="e">
      <level label="1">
        <text>“Subcontractor” means a person who has a contract with anyone except the owner or the owner’s agent.</text>
      </level>
      <level label="2">
        <text>“Subcontractor” includes a supplier.</text>
      </level>
    </level>
    <level label="f">
      <text>“Undisputed amount” means an amount owed on a contract for which there is no good faith dispute, including any retainage withheld.</text>
    </level>
  </section>
  <section article="grp" article_name="Real Property" number="9-302" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="3" subtitle_name="Construction Contracts">
    <level label="a">
      <text>Except for work done or materials furnished under a contract enumerated in § 9–305 of this subtitle, a contractor or subcontractor who does work or furnishes material under a contract shall be entitled to prompt payment under subsection (b) of this section.</text>
    </level>
    <level label="b">
      <level label="1">
        <text>If the contract is with an owner, the owner shall:</text>
        <level label="i">
          <text>If the contract does not provide for specific dates or times of payment, pay to the contractor undisputed amounts owed under the terms of the written contract, within the earlier of:</text>
          <level label="1">
            <text>30 days after the day on which the occupancy permit is granted; or</text>
          </level>
          <level label="2">
            <text>30 days after the day on which the owner or the owner’s agent takes possession; or</text>
          </level>
        </level>
        <level label="ii">
          <text>If the contract provides for specific dates or times of payment, pay to the contractor undisputed amounts owed within 7 days after the date or time specified in the contract.</text>
        </level>
      </level>
      <level label="2">
        <text>Paragraph (1) of this subsection does not apply to any contract between the contractor and:</text>
        <level label="i">
          <text>The State;</text>
        </level>
        <level label="ii">
          <text>A county;</text>
        </level>
        <level label="iii">
          <text>A municipal corporation;</text>
        </level>
        <level label="iv">
          <text>A board of education; or</text>
        </level>
        <level label="v">
          <text>A public authority or instrumentality.</text>
        </level>
      </level>
      <level label="3">
        <text>If the contract is not with an owner, the contractor or subcontractor shall pay undisputed amounts owed to its subcontractors within 7 days after receipt by the contractor or subcontractor of each payment received for its subcontractors’ work or materials.</text>
      </level>
    </level>
  </section>
  <section article="grp" article_name="Real Property" number="9-303" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="3" subtitle_name="Construction Contracts">
    <level label="a">
      <text>In this section, “undisputed amounts” includes any retention proceeds that exceed the amount authorized to be retained under § 9–304 of this subtitle.</text>
    </level>
    <level label="b">
      <text>In addition to any other remedy provided under any other provision of law, a court of competent jurisdiction, for good cause shown may:</text>
      <level label="1">
        <text>Award any equitable relief for prompt payment of undisputed amounts that it considers necessary, including the enjoining of further violations; and</text>
      </level>
      <level label="2">
        <text>In any action, award to the prevailing party:</text>
        <level label="i">
          <text>Interest from the date the court determines that the amount owed was due; and</text>
        </level>
        <level label="ii">
          <text>Any reasonable costs incurred.</text>
        </level>
      </level>
    </level>
    <level label="c">
      <text>If a court determines that an owner, contractor, or subcontractor has acted in bad faith by failing to pay any undisputed amounts owed as required under § 9–302 of this subtitle, the court may award to the prevailing party reasonable attorney’s fees.</text>
    </level>
  </section>
  <section article="grp" article_name="Real Property" number="9-304" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="3" subtitle_name="Construction Contracts">
    <level label="a">
      <text>In this section, “retention proceeds” means money earned but retained under the terms of a contract or subcontract:</text>
      <level label="1">
        <text>By an owner to guarantee performance of the contract by a contractor;</text>
      </level>
      <level label="2">
        <text>By a contractor to guarantee performance of a subcontract by a subcontractor; or</text>
      </level>
      <level label="3">
        <text>By a subcontractor to guarantee performance of a subcontract by another subcontractor.</text>
      </level>
    </level>
    <level label="b">
      <text>This section does not apply to:</text>
      <level label="1">
        <text>A contract in an amount less than $100,000; or</text>
      </level>
      <level label="2">
        <text>A contract or subcontract for a project funded wholly or in part by or through the Department of Housing and Community Development.</text>
      </level>
    </level>
    <level label="c">
      <text>Except as provided in this section:</text>
      <level label="1">
        <text>If a contractor has furnished 100% security to guarantee the performance of a contract and 100% security to guarantee payment for labor and materials, including leased equipment:</text>
        <level label="i">
          <text>The retention proceeds under the terms of a contract may not exceed 5% of the contract price; and</text>
        </level>
        <level label="ii">
          <text>The retention proceeds of any payment due under the terms of a contract from an owner to a contractor may not exceed 5% of the payment;</text>
        </level>
      </level>
      <level label="2">
        <text>The retention proceeds of any payment due under the terms of a contract from a contractor to a subcontractor may not exceed the percentage of retention proceeds from the owner to the contractor; and</text>
      </level>
      <level label="3">
        <text>The retention proceeds of any payment due under the terms of a contract from a subcontractor to another subcontractor may not exceed the percentage of retention proceeds from the contractor to the subcontractor.</text>
      </level>
    </level>
    <level label="d">
      <text>This section may not be construed to prohibit the withholding of any amount due:</text>
      <level label="1">
        <text>From the owner to the contractor if the owner reasonably determines that the contractor’s performance under the contract provides reasonable grounds for withholding the additional amount;</text>
      </level>
      <level label="2">
        <text>From the contractor to any subcontractor if the contractor reasonably determines that the subcontractor’s performance under the subcontract provides reasonable grounds for withholding the additional amount; or</text>
      </level>
      <level label="3">
        <text>From a subcontractor to another subcontractor if the subcontractor determines that the other subcontractor’s performance under the subcontract provides reasonable grounds for withholding the additional amount.</text>
      </level>
    </level>
    <level label="e">
      <text>Undisputed retention proceeds retained by an owner under this section shall be paid within 90 days after the date of substantial completion, as defined by the applicable contract or subcontract.</text>
    </level>
  </section>
  <section article="grp" article_name="Real Property" number="9-305" title_number="9" title_name="Statutory Liens on Real Property" subtitle_number="3" subtitle_name="Construction Contracts">
    <text>This subtitle does not:</text>
    <level label="1">
      <text>Affect the rights of contracting parties under Subtitle 1 of this title;</text>
    </level>
    <level label="2">
      <text>Apply to a contract for the construction and sale of a single family residential dwelling;</text>
    </level>
    <level label="3">
      <text>Apply to any transaction under the Custom Home Protection Act, Title 10, Subtitle 5 of this article; and</text>
    </level>
    <level label="4">
      <text>Apply to a home improvement contract by a contractor licensed under the Maryland Home Improvement Law.</text>
    </level>
  </section>
</title>