<?xml version='1.0' encoding='utf-8'?>
<section article="gcj" article_name="Courts and Judicial Proceedings" number="3-814" 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>A child may be taken into custody under this subtitle by any of the following methods:</text>
    <level label="1">
      <text>In accordance with an order of the court;</text>
    </level>
    <level label="2">
      <text>In accordance with § 5-709 of the Family Law Article; or</text>
    </level>
    <level label="3">
      <text>By a law enforcement officer if the officer has reasonable grounds to believe that the child is in immediate danger from the child’s surroundings and that the child’s removal is necessary for the child’s protection.</text>
    </level>
  </level>
  <level label="b">
    <text>Whenever a law enforcement officer takes a child into custody under this section, the officer shall:</text>
    <level label="1">
      <text>Immediately notify the child’s parent, guardian, or custodian;</text>
    </level>
    <level label="2">
      <text>Immediately notify the local department; and</text>
    </level>
    <level label="3">
      <text>Keep custody only until the local department either takes custody under § 3-815 of this subtitle or authorizes release of the child unless the officer determines that it is safe to return the child to the child’s parent, custodian, or guardian.</text>
    </level>
  </level>
  <level label="c">
    <level label="1">
      <text>If a parent, guardian, or custodian fails to bring the child before the court when requested, the court may issue a writ of attachment directing that the child be taken into custody and brought before the court.</text>
    </level>
    <level label="2">
      <text>The court may proceed against the parent, guardian, or custodian for contempt.</text>
    </level>
  </level>
</section>
