<?xml version='1.0' encoding='utf-8'?>
<section article="gcj" article_name="Courts and Judicial Proceedings" number="3-821" title_number="3" title_name="Courts of General Jurisdiction -- Jurisdiction/special Causes of Action" subtitle_number="8" subtitle_name="Juvenile Causes -- Children in Need of Assistance">
  <level label="a">
    <text>The court, on its own motion or on application of a party, may issue an appropriate order directing, restraining, or otherwise controlling the conduct of a person who is properly before the court, if the court finds that the conduct:</text>
    <level label="1">
      <text>Is or may be detrimental or harmful to a child over whom the court has jurisdiction;</text>
    </level>
    <level label="2">
      <text>Will tend to defeat the execution of an order or disposition made or to be made under this subtitle; or</text>
    </level>
    <level label="3">
      <text>Will assist in the rehabilitation of or is necessary for the welfare of the child.</text>
    </level>
  </level>
  <level label="b">
    <text>Subsection (a) of this section shall apply to a person not a party to the petition if the person is given:</text>
    <level label="1">
      <text>Notice of the proposed order controlling the person’s conduct; and</text>
    </level>
    <level label="2">
      <text>The opportunity to contest the entry of the proposed order.</text>
    </level>
  </level>
  <level label="c">
    <text>An order issued under this section is enforceable under Title 15, Chapter 200 of the Maryland Rules.</text>
  </level>
</section>
