Link to home
Start Free TrialLog in
Avatar of Camillia
CamilliaFlag for United States of America

asked on

Why is this SQL bringing back extra rows? (parsing XML data)

This is SQL 2016 Developer

I've been getting help from two experts: Ryan and Husayn so thanks for that.

This brings back 33 rows which is correct. but when I add a "Cross Apply", it brings back 132 rows and that's not correct.
It should still bring back 33 rows with the correct "subchapter" name.

Why is this? Please see my comment when you scroll down the code to the "select" statement
declare @xml XML

set @xml = '
<main>

    <chapter style="-uslm-lc:I81" id="ida31694f6-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/ch6">
    <num value="6">CHAPTER 6—</num>
    <heading>IMMIGRATION</heading>
    <subchapter style="-uslm-lc:I81" id="ida31694f7-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/ch6/schI">
      <num value="I">SUBCHAPTER I—</num>
      <heading>IMMIGRATION AND NATURALIZATION AGENCIES, OFFICERS, AND STATIONS</heading>
      <section status="transferred" style="-uslm-lc:I80" id="ida31694f8-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s100 /us/usc/t8/s101">
        <num value="100, 101">§§?100, 101.</num>
        <heading> Transferred</heading>
        <notes type="uscNote" id="ida31694f9-0381-11e7-859c-c7e65b0ded31">
          <note style="-uslm-lc:I76" topic="codification" id="ida31694fa-0381-11e7-859c-c7e65b0ded31">
            <heading class="centered smallCaps">Codification</heading>
            <p style="-uslm-lc:I21" class="indent0">Section 100 transferred to <ref href="/us/usc/t8/s1551">section 1551 of this title</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">Section 101 transferred to <ref href="/us/usc/t8/s1552">section 1552 of this title</ref>.</p>
          </note>
        </notes>
      </section>
      <section status="repealed" style="-uslm-lc:I80" id="ida31694fb-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s102">
        <num value="102">§?102.</num>
        <heading> Repealed. <ref href="/us/act/1952-06-27/ch477">June 27, 1952, ch. 477</ref>, title IV, §?403(a)(13), <ref href="/us/stat/66/279">66 Stat. 279</ref>, eff. <date date="1952-12-24">Dec. 24, 1952</date></heading>
        <notes type="uscNote" id="ida31694fc-0381-11e7-859c-c7e65b0ded31">
          <note topic="removalDescription" id="ida31694fd-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section, acts <ref href="/us/act/1917-02-05/ch29">Feb. 5, 1917, ch. 29</ref>, §?23, <ref href="/us/stat/39/892">39 Stat. 892</ref>; <ref href="/us/act/1937-05-14/ch181">May 14, 1937, ch. 181</ref>, <ref href="/us/stat/50/164">50 Stat. 164</ref>; <ref href="/us/act/1945-10-29/ch438">Oct. 29, 1945, ch. 438</ref>, <ref href="/us/stat/59/551">59 Stat. 551</ref>; <ref href="/us/act/1949-10-15/ch695">Oct. 15, 1949, ch. 695</ref>, §?5(a), <ref href="/us/stat/63/880">63 Stat. 880</ref>, related to administration of immigration laws. See sections 1103, 1223(a), and 1260 of this title.</p>
          </note>
        </notes>
      </section>
      <section status="omitted" style="-uslm-lc:I80" id="ida31694fe-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s103 /us/usc/t8/s103a">
        <num value="103, 103a">§§?103, 103a.</num>
        <heading> Omitted</heading>
        <notes type="uscNote" id="ida31694ff-0381-11e7-859c-c7e65b0ded31">
          <note style="-uslm-lc:I76" topic="codification" id="ida3169500-0381-11e7-859c-c7e65b0ded31">
            <heading class="centered smallCaps">Codification</heading>
            <p style="-uslm-lc:I21" class="indent0">Section 103, acts <ref href="/us/act/1895-03-02/ch177">Mar. 2, 1895, ch. 177</ref>, §?1, <ref href="/us/stat/28/780">28 Stat. 780</ref>; <ref href="/us/act/1913-03-04/ch141">Mar. 4, 1913, ch. 141</ref>, §?3, <ref href="/us/stat/37/737">37 Stat. 737</ref>; Ex. Ord. No. 6166, §?14, <date date="1933-06-10">June 10, 1933</date>; 1940 Reorg. Plan No. V, eff. <date date="1940-06-14">June 14, 1940</date>, 5 F.R. 2423, <ref href="/us/stat/54/1238">54 Stat. 1238</ref>, which related to administration of alien contract laws, was transferred to section 342h of former Title 5, Executive Departments and Government Officers and Employees, and subsequently eliminated from the Code on enactment of Title 5, Government Organization and Employees, by <ref href="/us/pl/89/554">Pub. L. 89–554</ref>, <date date="1966-09-06">Sept. 6, 1966</date>, <ref href="/us/stat/80/378">80 Stat. 378</ref>. See <ref href="/us/usc/t8/s1103">section 1103 of this title</ref>.</p>
            <p>Section 103a, <ref href="/us/act/1947-07-09/ch211/tII">act July 9, 1947, ch. 211, title II</ref>, <ref href="/us/stat/61/292">61 Stat. 292</ref>, which related to reimbursement by Attorney General of certain expenses incurred by other agencies in connection with administration and enforcement of laws relating to immigration, etc., was from the Department of Justice Appropriation Act, 1948, and was not repeated in the Department of Justice Appropriation Act, 1949, <ref href="/us/act/1948-06-03/ch400/tII">act June 3, 1948, ch. 400, title II</ref>, <ref href="/us/stat/62/316">62 Stat. 316</ref>. Similar provisions were contained in the following prior appropriation acts:</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1946-07-05/ch541">July 5, 1946, ch. 541</ref>, title II, <ref href="/us/stat/60/462">60 Stat. 462</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1945-05-21/ch129">May 21, 1945, ch. 129</ref>, title II, <ref href="/us/stat/59/185">59 Stat. 185</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1944-06-28/ch294">June 28, 1944, ch. 294</ref>, title II, <ref href="/us/stat/58/412">58 Stat. 412</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1943-07-01/ch182">July 1, 1943, ch. 182</ref>, title II, <ref href="/us/stat/57/288">57 Stat. 288</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1942-07-02/ch472">July 2, 1942, ch. 472</ref>, title II, <ref href="/us/stat/56/483">56 Stat. 483</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1941-06-28/ch258">June 28, 1941, ch. 258</ref>, title III, <ref href="/us/stat/55/292">55 Stat. 292</ref>.</p>
          </note>
        </notes>
      </section>
      <section status="repealed" style="-uslm-lc:I80" id="ida3169501-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s104">
        <num value="104">§?104.</num>
        <heading> Repealed. <ref href="/us/act/1943-12-17/ch344">Dec. 17, 1943, ch. 344</ref>, §?1, <ref href="/us/stat/57/600">57 Stat. 600</ref></heading>
        <notes type="uscNote" id="ida3169502-0381-11e7-859c-c7e65b0ded31">
          <note topic="removalDescription" id="ida3169503-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section, acts <ref href="/us/act/1900-06-06/ch791">June 6, 1900, ch. 791</ref>, §?1, <ref href="/us/stat/31/611">31 Stat. 611</ref>; <ref href="/us/act/1913-03-04/ch141">Mar. 4, 1913, ch. 141</ref>, §?3, <ref href="/us/stat/37/737">37 Stat. 737</ref>; Ex. Ord. No. 6166, §?14, <date date="1933-06-10">June 10, 1933</date>; 1940 Reorg. Plan No. V, eff. <date date="1940-06-14">June 14, 1940</date>, 5 F.R. 2423, <ref href="/us/stat/54/1238">54 Stat. 1238</ref>, provided that Commissioner of Immigration and Naturalization should have charge, under supervision of Attorney General, of administration of Chinese exclusion laws.</p>
          </note>
        </notes>
      </section>
      <section status="repealed" style="-uslm-lc:I80" id="ida3169504-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s105">
        <num value="105">§?105.</num>
        <heading> Repealed. <ref href="/us/act/1952-06-27/ch477">June 27, 1952, ch. 477</ref>, title IV, §?403(a)(13), <ref href="/us/stat/66/279">66 Stat. 279</ref>, eff. <date date="1952-12-24">Dec. 24, 1952</date></heading>
        <notes type="uscNote" id="ida3169505-0381-11e7-859c-c7e65b0ded31">
          <note topic="removalDescription" id="ida3169506-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?30, <ref href="/us/stat/39/895">39 Stat. 895</ref>, related to division of information.</p>
          </note>
        </notes>
      </section>
      <section status="repealed" style="-uslm-lc:I80" id="ida3169507-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s106...106c">
        <num value="106 to 106c">§§?106 to 106c.</num>
        <heading> Repealed. <ref href="/us/act/1940-10-14/ch876">Oct. 14, 1940, ch. 876</ref>, title I, subch. V, §?504, <ref href="/us/stat/54/1172">54 Stat. 1172</ref></heading>
        <notes type="uscNote" id="ida3169508-0381-11e7-859c-c7e65b0ded31">
          <note topic="removalDescription" id="ida3169509-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Sections, acts <ref href="/us/act/1906-06-29/ch3592">June 29, 1906, ch. 3592</ref>, §?1, <ref href="/us/stat/34/596">34 Stat. 596</ref>; <ref href="/us/act/1929-03-02/ch536">Mar. 2, 1929, ch. 536</ref>, §§?1 to 3, <ref href="/us/stat/45/1512">45 Stat. 1512</ref>, 1513; <ref href="/us/act/1934-04-19/ch154">Apr. 19, 1934, ch. 154</ref>, §?6, <ref href="/us/stat/48/598">48 Stat. 598</ref>; <ref href="/us/act/1934-06-08/ch429">June 8, 1934, ch. 429</ref>, <ref href="/us/stat/48/926">48 Stat. 926</ref>; <ref href="/us/act/1939-08-07/ch517">Aug. 7, 1939, ch. 517</ref>, <ref href="/us/stat/53/1243">53 Stat. 1243</ref>, related to registry of aliens. Similar provisions were contained in former sections 728, 729, 742(b), and 746(<i>l</i>) of this title. See sections 1230 and 1259 of this title.</p>
          </note>
        </notes>
      </section>
      <section status="repealed" style="-uslm-lc:I80" id="ida316950a-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s107">
        <num value="107">§?107.</num>
        <heading> Repealed. <ref href="/us/pl/89/554">Pub. L. 89–554</ref>, §?8(a), <date date="1966-09-06">Sept. 6, 1966</date>, <ref href="/us/stat/80/637">80 Stat. 637</ref>, 642</heading>
        <notes type="uscNote" id="ida316950b-0381-11e7-859c-c7e65b0ded31">
          <note topic="removalDescription" id="ida316950c-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section, acts <ref href="/us/act/1894-08-18/ch301">Aug. 18, 1894, ch. 301</ref>, §?1, 28 Stat 391; <ref href="/us/act/1914-08-01/ch223">Aug. 1, 1914, ch. 223</ref>, §?1, <ref href="/us/stat/38/666">38 Stat. 666</ref>; <ref href="/us/act/1920-06-05/ch235">June 5, 1920, ch. 235</ref>, §?1, <ref href="/us/stat/41/936">41 Stat. 936</ref>, provided for appointment of commissioners of immigration at the several ports.</p>
          </note>
        </notes>
      </section>
      <section status="repealed" style="-uslm-lc:I80" id="ida316950d-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s108 /us/usc/t8/s109">
        <num value="108, 109">§§?108, 109.</num>
        <heading> Repealed. <ref href="/us/act/1952-06-27/ch477">June 27, 1952, ch. 477</ref>, title IV, §?403(a)(13), <ref href="/us/stat/66/279">66 Stat. 279</ref>, eff. <date date="1952-12-24">Dec. 24, 1952</date></heading>
        <notes type="uscNote" id="ida316950e-0381-11e7-859c-c7e65b0ded31">
          <note topic="removalDescription" id="ida316950f-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 108, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?23, <ref href="/us/stat/39/892">39 Stat. 892</ref>, related to duties of immigration officers. See <ref href="/us/usc/t8/s1103/a">section 1103(a) of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3169510-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 109, acts <ref href="/us/act/1917-02-05/ch29">Feb. 5, 1917, ch. 29</ref>, §?24, <ref href="/us/stat/39/893">39 Stat. 893</ref>; <ref href="/us/act/1921-06-10/ch18">June 10, 1921, ch. 18</ref>, §?304, <ref href="/us/stat/42/24">42 Stat. 24</ref>; <ref href="/us/act/1928-05-29/ch864">May 29, 1928, ch. 864</ref>, <ref href="/us/stat/45/954">45 Stat. 954</ref>; <ref href="/us/act/1931-02-21/ch270">Feb. 21, 1931, ch. 270</ref>, <ref href="/us/stat/46/1205">46 Stat. 1205</ref>; <ref href="/us/act/1932-05-02/ch156">May 2, 1932, ch. 156</ref>, <ref href="/us/stat/47/145">47 Stat. 145</ref>; <ref href="/us/act/1942-06-20/ch426">June 20, 1942, ch. 426</ref>, <ref href="/us/stat/56/373">56 Stat. 373</ref>, related to officers and employees. See sections 1103(a) and 1353 of this title.</p>
          </note>
        </notes>
      </section>
      <section status="transferred" style="-uslm-lc:I80" id="ida3169511-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s109a...109d">
        <num value="109a to 109d">§§?109a to 109d.</num>
        <heading> Transferred</heading>
        <notes type="uscNote" id="ida3169512-0381-11e7-859c-c7e65b0ded31">
          <note style="-uslm-lc:I76" topic="codification" id="ida3169513-0381-11e7-859c-c7e65b0ded31">
            <heading class="centered smallCaps">Codification</heading>
            <p style="-uslm-lc:I21" class="indent0">Sections 109a to 109c transferred to sections 1353a, 1353b, and 1353d, respectively, of this title.</p>
            <p style="-uslm-lc:I21" class="indent0">Section 109d, acts <ref href="/us/act/1943-07-01/ch182">July 1, 1943, ch. 182</ref>, title II, <ref href="/us/stat/57/288">57 Stat. 288</ref>; <ref href="/us/act/1944-06-28/ch294">June 28, 1944, ch. 294</ref>, title II, <ref href="/us/stat/58/413">58 Stat. 413</ref>; <ref href="/us/act/1945-05-21/ch129">May 21, 1945, ch. 129</ref>, title II, <ref href="/us/stat/59/186">59 Stat. 186</ref>; <ref href="/us/act/1946-07-05/ch541">July 5, 1946, ch. 541</ref>, title II, <ref href="/us/stat/60/463">60 Stat. 463</ref>; <ref href="/us/act/1947-07-09/ch211">July 9, 1947, ch. 211</ref>, title II, <ref href="/us/stat/61/292">61 Stat. 292</ref>; <ref href="/us/act/1948-06-03/ch400">June 3, 1948, ch. 400</ref>, title II, <ref href="/us/stat/62/316">62 Stat. 316</ref>; <ref href="/us/act/1949-07-20/ch354">July 20, 1949, ch. 354</ref>, title II, <ref href="/us/stat/63/460">63 Stat. 460</ref>; <ref href="/us/act/1950-09-06/ch896">Sept. 6, 1950, ch. 896</ref>, ch. III, title II, <ref href="/us/stat/64/618">64 Stat. 618</ref>, which related to employment of interpreters in the Immigration and Naturalization Service, was transferred to section 342f of former Title 5, Executive Departments and Government Officers and Employees, and subsequently repealed by <ref href="/us/pl/89/554">Pub. L. 89–554</ref>, <date date="1966-09-06">Sept. 6, 1966</date>, <ref href="/us/stat/80/378">80 Stat. 378</ref>, 632, which enacted Title 5, Government Organization and Employees. See <ref href="/us/usc/t8/s1555">section 1555 of this title</ref>.</p>
          </note>
        </notes>
      </section>
      <section status="repealed" style="-uslm-lc:I80" id="ida3169514-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s110">
        <num value="110">§?110.</num>
        <heading> Repealed. <ref href="/us/act/1952-06-27/ch477">June 27, 1952, ch. 477</ref>, title IV, §?403(a)(25), <ref href="/us/stat/66/279">66 Stat. 279</ref>, eff. <date date="1952-12-24">Dec. 24, 1952</date></heading>
        <notes type="uscNote" id="ida3169515-0381-11e7-859c-c7e65b0ded31">
          <note topic="removalDescription" id="ida3169516-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section, acts <ref href="/us/act/1925-02-27/ch364">Feb. 27, 1925, ch. 364</ref>, title IV, <ref href="/us/stat/43/1049">43 Stat. 1049</ref>; <ref href="/us/act/1946-08-07/ch768">Aug. 7, 1946, ch. 768</ref>, <ref href="/us/stat/60/865">60 Stat. 865</ref>; <ref href="/us/act/1952-03-20/ch108">Mar. 20, 1952, ch. 108</ref>, §?2, <ref href="/us/stat/66/26">66 Stat. 26</ref>, related to arrest of aliens without warrant. See <ref href="/us/usc/t8/s1357">section 1357 of this title</ref>.</p>
          </note>
        </notes>
      </section>
      <section status="transferred" style="-uslm-lc:I80" id="ida3169517-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s111">
        <num value="111">§?111.</num>
        <heading> Transferred</heading>
        <notes type="uscNote" id="ida3169518-0381-11e7-859c-c7e65b0ded31">
          <note style="-uslm-lc:I76" topic="codification" id="ida3169519-0381-11e7-859c-c7e65b0ded31">
            <heading class="centered smallCaps">Codification</heading>
            <p style="-uslm-lc:I21" class="indent0">Section 111 transferred to <ref href="/us/usc/t8/s1554">section 1554 of this title</ref>.</p>
          </note>
        </notes>
      </section>
      <section status="omitted" style="-uslm-lc:I80" id="ida316951a-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s112">
        <num value="112">§?112.</num>
        <heading> Omitted</heading>
        <notes type="uscNote" id="ida316951b-0381-11e7-859c-c7e65b0ded31">
          <note style="-uslm-lc:I76" topic="codification" id="ida316951c-0381-11e7-859c-c7e65b0ded31">
            <heading class="centered smallCaps">Codification</heading>
            <p style="-uslm-lc:I21" class="indent0">Section, <ref href="/us/act/1915-03-04/ch147">act Mar. 4, 1915, ch. 147</ref>, §?1, <ref href="/us/stat/38/1151">38 Stat. 1151</ref>; 1940 Reorg. Plan No. V, eff. <date date="1940-06-14">June 14, 1940</date>, 5 F.R. 2423, <ref href="/us/stat/54/1238">54 Stat. 1238</ref>, which related to employment of officers and clerks enforcing alien contract labor laws, was transferred to section 342i of former Title 5, Executive Departments and Government Officers and Employees, and subsequently eliminated from the Code on enactment of Title 5, Government Organization and Employees, by <ref href="/us/pl/89/554">Pub. L. 89–554</ref>, <date date="1966-09-06">Sept. 6, 1966</date>, <ref href="/us/stat/80/378">80 Stat. 378</ref>. See <ref href="/us/usc/t8/s1103">section 1103 of this title</ref>.</p>
          </note>
        </notes>
      </section>
      <section status="repealed" style="-uslm-lc:I80" id="ida316951d-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s113">
        <num value="113">§?113.</num>
        <heading> Repealed. <ref href="/us/act/1952-06-27/ch477">June 27, 1952, ch. 477</ref>, title IV, §?403(a)(13), <ref href="/us/stat/66/279">66 Stat. 279</ref>, eff. <date date="1952-12-24">Dec. 24, 1952</date></heading>
        <notes type="uscNote" id="ida316951e-0381-11e7-859c-c7e65b0ded31">
          <note topic="removalDescription" id="ida316951f-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?11a, <ref href="/us/stat/39/882">39 Stat. 882</ref>, related to detail of inspectors on vessels.</p>
          </note>
        </notes>
      </section>
      <section status="omitted" style="-uslm-lc:I80" id="ida3169520-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s114">
        <num value="114">§?114.</num>
        <heading> Omitted</heading>
        <notes type="uscNote" id="ida3169521-0381-11e7-859c-c7e65b0ded31">
          <note style="-uslm-lc:I76" topic="codification" id="ida3169522-0381-11e7-859c-c7e65b0ded31">
            <heading class="centered smallCaps">Codification</heading>
            <p style="-uslm-lc:I21" class="indent0">Section, <ref href="/us/act/1919-08-15/ch50">act Aug. 15, 1919, ch. 50</ref>, <ref href="/us/stat/41/280">41 Stat. 280</ref>; 1940 Reorg. Plan No. V, eff. <date date="1940-06-14">June 14, 1940</date>, 5 F.R. 2423, <ref href="/us/stat/54/1238">54 Stat. 1238</ref>, authorized lease for other than governmental purposes of Charleston immigration station and dock connected therewith.</p>
            <p style="-uslm-lc:I21" class="indent0">Section was also classified to section 342k of former Title 5, Executive Departments and Government Officers and Employees, and subsequently eliminated from the Code on enactment of Title 5, Government Organization and Employees, by <ref href="/us/pl/89/554">Pub. L. 89–554</ref>, <date date="1966-09-06">Sept. 6, 1966</date>, <ref href="/us/stat/80/378">80 Stat. 378</ref>.</p>
          </note>
        </notes>
      </section>
      <section status="repealed" style="-uslm-lc:I80" id="ida3169523-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s115 /us/usc/t8/s116">
        <num value="115, 116">§§?115, 116.</num>
        <heading> Repealed. <ref href="/us/act/1952-06-27/ch477">June 27, 1952, ch. 477</ref>, title IV, §?403(a)(13), <ref href="/us/stat/66/279">66 Stat. 279</ref>, eff. <date date="1952-12-24">Dec. 24, 1952</date></heading>
        <notes type="uscNote" id="ida3169524-0381-11e7-859c-c7e65b0ded31">
          <note topic="removalDescription" id="ida3169525-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 115, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?26, <ref href="/us/stat/39/894">39 Stat. 894</ref>, related to disposal of privileges at immigrant stations. See <ref href="/us/usc/t8/s1355/a">section 1355(a) of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3169526-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 116, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?27, <ref href="/us/stat/39/894">39 Stat. 894</ref>, related to local jurisdiction over immigrant stations. See <ref href="/us/usc/t8/s1358">section 1358 of this title</ref>.</p>
          </note>
        </notes>
      </section>
      <section status="omitted" style="-uslm-lc:I80" id="ida3169527-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s117 /us/usc/t8/s118">
        <num value="117, 118">§§?117, 118.</num>
        <heading> Omitted</heading>
        <notes type="uscNote" id="ida3169528-0381-11e7-859c-c7e65b0ded31">
          <note style="-uslm-lc:I76" topic="codification" id="ida3169529-0381-11e7-859c-c7e65b0ded31">
            <heading class="centered smallCaps">Codification</heading>
            <p style="-uslm-lc:I21" class="indent0">Section 117, acts <ref href="/us/act/1943-07-12/ch221">July 12, 1943, ch. 221</ref>, title II, <ref href="/us/stat/57/507">57 Stat. 507</ref>; <ref href="/us/act/1944-06-28/ch302">June 28, 1944, ch. 302</ref>, title II, <ref href="/us/stat/58/558">58 Stat. 558</ref>, related to use of the hospital at Ellis Island Immigration Station for the care of Public Health Service patients. See <ref href="/us/usc/t8/s1356/a">section 1356(a) of this title</ref> and <ref href="/us/usc/t42/s220">section 220 of Title 42</ref>, The Public Health and Welfare. Similar provisions were contained in the following prior appropriation acts, which were repealed by section 1313, formerly section 611, of <ref href="/us/act/1944-07-01/ch373">act July 1, 1944, ch. 373</ref>, <ref href="/us/stat/58/714">58 Stat. 714</ref>, 718.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1942-07-02/ch475">July 2, 1942, ch. 475</ref>, title II, <ref href="/us/stat/56/581">56 Stat. 581</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1941-07-01/ch269">July 1, 1941, ch. 269</ref>, title II, <ref href="/us/stat/55/481">55 Stat. 481</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1940-06-26/ch428">June 26, 1940, ch. 428</ref>, title II, <ref href="/us/stat/54/585">54 Stat. 585</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1939-05-06/ch115">May 6, 1939, ch. 115</ref>, title I, <ref href="/us/stat/53/668">53 Stat. 668</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1938-03-28/ch55">Mar. 28, 1938, ch. 55</ref>, <ref href="/us/stat/52/133">52 Stat. 133</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1937-05-14/ch180">May 14, 1937, ch. 180</ref>, title I, <ref href="/us/stat/50/149">50 Stat. 149</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1936-06-23/ch725">June 23, 1936, ch. 725</ref>, <ref href="/us/stat/49/1839">49 Stat. 1839</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1935-05-14/ch110">May 14, 1935, ch. 110</ref>, <ref href="/us/stat/49/229">49 Stat. 229</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1934-03-15/ch70">Mar. 15, 1934, ch. 70</ref>, title I, <ref href="/us/stat/48/435">48 Stat. 435</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1933-03-03/ch212">Mar. 3, 1933, ch. 212</ref>, title I, <ref href="/us/stat/47/1500">47 Stat. 1500</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1932-07-05/ch430">July 5, 1932, ch. 430</ref>, title I, <ref href="/us/stat/47/591">47 Stat. 591</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1931-02-23/ch277">Feb. 23, 1931, ch. 277</ref>, title I, <ref href="/us/stat/46/1228">46 Stat. 1228</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1930-05-15/ch289">May 15, 1930, ch. 289</ref>, title I, <ref href="/us/stat/46/347">46 Stat. 347</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1928-12-20/ch39">Dec. 20, 1928, ch. 39</ref>, title I, <ref href="/us/stat/45/1039">45 Stat. 1039</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1928-03-05/ch126">Mar. 5, 1928, ch. 126</ref>, title I, <ref href="/us/stat/45/174">45 Stat. 174</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1927-01-26/ch58">Jan. 26, 1927, ch. 58</ref>, <ref href="/us/stat/44/1038">44 Stat. 1038</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1926-03-02/ch43">Mar. 2, 1926, ch. 43</ref>, <ref href="/us/stat/44/147">44 Stat. 147</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1925-01-22/ch87">Jan. 22, 1925, ch. 87</ref>, title I, <ref href="/us/stat/43/775">43 Stat. 775</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1924-04-04/ch84">Apr. 4, 1924, ch. 84</ref>, title I, <ref href="/us/stat/43/75">43 Stat. 75</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1923-01-03/ch22">Jan. 3, 1923, ch. 22</ref>, <ref href="/us/stat/42/1101">42 Stat. 1101</ref>.</p>
            <p>Section 118, <ref href="/us/act/1930-04-18/ch184/tIV">act Apr. 18, 1930, ch. 184, title IV</ref>, <ref href="/us/stat/46/216">46 Stat. 216</ref>, which related to motor vehicles and horses for enforcement of immigration and Chinese exclusion laws, expired with the appropriation act of which it was a part. Similar provisions were contained in the following prior appropriation acts:</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1929-01-25/ch102">Jan. 25, 1929, ch. 102</ref>, title IV, <ref href="/us/stat/45/1137">45 Stat. 1137</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1928-02-15/ch57">Feb. 15, 1928, ch. 57</ref>, title IV, <ref href="/us/stat/45/107">45 Stat. 107</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1927-02-24/ch189">Feb. 24, 1927, ch. 189</ref>, title IV, <ref href="/us/stat/44/1223">44 Stat. 1223</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1926-04-29/ch195">Apr. 29, 1926, ch. 195</ref>, title IV, <ref href="/us/stat/44/371">44 Stat. 371</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1925-02-27/ch364">Feb. 27, 1925, ch. 364</ref>, title IV, <ref href="/us/stat/43/1049">43 Stat. 1049</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1924-05-28/ch204">May 28, 1924, ch. 204</ref>, title IV, <ref href="/us/stat/43/240">43 Stat. 240</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1923-01-05/ch24">Jan. 5, 1923, ch. 24</ref>, title II, <ref href="/us/stat/42/1127">42 Stat. 1127</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1922-03-28/ch117">Mar. 28, 1922, ch. 117</ref>, title II, <ref href="/us/stat/42/487">42 Stat. 487</ref>.</p>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1917-06-12/ch27">June 12, 1917, ch. 27</ref>, §?1, <ref href="/us/stat/40/170">40 Stat. 170</ref>.</p>
          </note>
          <note style="-uslm-lc:I74" topic="miscellaneous" id="ida316952a-0381-11e7-859c-c7e65b0ded31">
            <heading class="centered smallCaps">Renumbering of Repealing Act</heading>
            <p style="-uslm-lc:I21" class="indent0">Title XIII, §?1313, formerly title VI, §?611, of act <date date="1944-07-01">July 1, 1944</date>, which repealed section 117, was renumbered title VII, §?711, by <ref href="/us/act/1946-08-13/ch958">act Aug. 13, 1946, ch. 958</ref>, §?5, <ref href="/us/stat/60/1049">60 Stat. 1049</ref>; §?713, by <ref href="/us/act/1948-02-28/ch83">act Feb. 28, 1948, ch. 83</ref>, §?9(b), <ref href="/us/stat/62/47">62 Stat. 47</ref>; title VIII, §?813, by <ref href="/us/act/1956-07-30/ch779">act July 30, 1956, ch. 779</ref>, §?3(b), <ref href="/us/stat/70/721">70 Stat. 721</ref>; title IX, §?913, by <ref href="/us/pl/88/581">Pub. L. 88–581</ref>, §?4(b), <date date="1964-09-04">Sept. 4, 1964</date>, <ref href="/us/stat/78/919">78 Stat. 919</ref>; title X, §?1013, by <ref href="/us/pl/89/239">Pub. L. 89–239</ref>, §?3(b), <date date="1965-10-06">Oct. 6, 1965</date>, <ref href="/us/stat/79/931">79 Stat. 931</ref>; title XI, §?1113, by <ref href="/us/pl/91/572">Pub. L. 91–572</ref>, §?6(b), <date date="1970-12-24">Dec. 24, 1970</date>, <ref href="/us/stat/84/1506">84 Stat. 1506</ref>; title XII, §?1213, by <ref href="/us/pl/92/294">Pub. L. 92–294</ref>, §?3(b), <date date="1972-05-16">May 16, 1972</date>, <ref href="/us/stat/86/137">86 Stat. 137</ref>; title XIII, §?1313, by <ref href="/us/pl/93/154">Pub. L. 93–154</ref>, §?2(b)(2), <date date="1973-11-16">Nov. 16, 1973</date>, <ref href="/us/stat/87/604">87 Stat. 604</ref>, and was repealed by <ref href="/us/pl/93/222">Pub. L. 93–222</ref>, §?7(b), <date date="1973-12-29">Dec. 29, 1973</date>, <ref href="/us/stat/87/936">87 Stat. 936</ref>.</p>
          </note>
        </notes>
      </section>
    </subchapter>
    <subchapter style="-uslm-lc:I81" id="ida316952b-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/ch6/schII">
      <num value="II">SUBCHAPTER II—</num>
      <heading>REGULATION AND RESTRICTION OF IMMIGRATION IN GENERAL</heading>
      <section status="omitted" style="-uslm-lc:I80" id="ida316952c-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s131">
        <num value="131">§?131.</num>
        <heading> Omitted</heading>
        <notes type="uscNote" id="ida319062d-0381-11e7-859c-c7e65b0ded31">
          <note style="-uslm-lc:I76" topic="codification" id="ida319062e-0381-11e7-859c-c7e65b0ded31">
            <heading class="centered smallCaps">Codification</heading>
            <p style="-uslm-lc:I21" class="indent0">Section, acts <ref href="/us/act/1903-02-14/ch552">Feb. 14, 1903, ch. 552</ref>, §?7, <ref href="/us/stat/32/828">32 Stat. 828</ref>; <ref href="/us/act/1913-03-04/ch141">Mar. 4, 1913, ch. 141</ref>, §?3, <ref href="/us/stat/37/737">37 Stat. 737</ref>; 1940 Reorg. Plan No. V, eff. <date date="1940-06-14">June 14, 1940</date>, 5 F.R. 2423, <ref href="/us/stat/54/1238">54 Stat. 1238</ref>, which related to control of immigration, was transferred to section 342a of former Title 5, Executive Departments and Government Officers and Employees, and subsequently eliminated from the Code on enactment of Title 5, Government Organization and Employees, by <ref href="/us/pl/89/554">Pub. L. 89–554</ref>, <date date="1966-09-06">Sept. 6, 1966</date>, <ref href="/us/stat/80/378">80 Stat. 378</ref>.</p>
          </note>
        </notes>
      </section>
      <section status="repealed" style="-uslm-lc:I80" id="ida319062f-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s132...137–10">
        <num value="132 to 137–10">§§?132 to 137–10.</num>
        <heading> Repealed. <ref href="/us/act/1952-06-27/ch477">June 27, 1952, ch. 477</ref>, title IV, §?403(a)(1), (8), (11), (13), (16), (48), <ref href="/us/stat/66/279">66 Stat. 279</ref>, 280, eff. <date date="1952-12-24">Dec. 24, 1952</date></heading>
        <notes type="uscNote" id="ida3190630-0381-11e7-859c-c7e65b0ded31">
          <note topic="removalDescription" id="ida3190631-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 132, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?2, <ref href="/us/stat/39/875">39 Stat. 875</ref>, related to head tax. See <ref href="/us/usc/t8/s1351">section 1351 of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3190632-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 133, <ref href="/us/act/1909-03-04/ch299">act Mar. 4, 1909, ch. 299</ref>, §?1, <ref href="/us/stat/35/982">35 Stat. 982</ref>, related to covering of moneys into Treasury. See <ref href="/us/usc/t8/s1356/b">section 1356(b) of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3190633-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 134, <ref href="/us/act/1905-02-03/ch297">act Feb. 3, 1905, ch. 297</ref>, §?1, <ref href="/us/stat/33/684">33 Stat. 684</ref>, authorized refunds of head taxes erroneously collected under <ref href="/us/act/1903-03-03/ch1012">act Mar. 3, 1903, ch. 1012</ref>, §?1, <ref href="/us/stat/32/1213">32 Stat. 1213</ref>. Said act <date date="1903-03-03">Mar. 3, 1903</date> was repealed by acts <ref href="/us/act/1907-02-20/ch1134">Feb. 20, 1907, ch. 1134</ref>, §?43, <ref href="/us/stat/34/911">34 Stat. 911</ref>; <ref href="/us/act/1917-02-05/ch29">Feb. 5, 1917, ch. 29</ref>, §?38, <ref href="/us/stat/39/897">39 Stat. 897</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3190634-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 135, R.S. §?2164, related to State tax or charge on immigrants.</p>
          </note>
          <note topic="removalDescription" id="ida3190635-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 136, acts <ref href="/us/act/1917-02-05/ch29">Feb. 5, 1917, ch. 29</ref>, §?3, <ref href="/us/stat/39/875">39 Stat. 875</ref>; <ref href="/us/act/1920-06-05/ch243">June 5, 1920, ch. 243</ref>, <ref href="/us/stat/41/981">41 Stat. 981</ref>; <ref href="/us/act/1929-03-04/ch690">Mar. 4, 1929, ch. 690</ref>, §?1(d), <ref href="/us/stat/45/1551">45 Stat. 1551</ref>; <ref href="/us/act/1944-09-27/ch418">Sept. 27, 1944, ch. 418</ref>, §?2, <ref href="/us/stat/58/746">58 Stat. 746</ref>, related to exclusion of aliens. See sections 1102, 1154, and 1182 of this title.</p>
          </note>
          <note topic="removalDescription" id="ida3190636-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 137, acts <ref href="/us/act/1918-10-16/ch186">Oct. 16, 1918, ch. 186</ref>, §?1, <ref href="/us/stat/40/1012">40 Stat. 1012</ref>; <ref href="/us/act/1920-06-05/ch251">June 5, 1920, ch. 251</ref>, <ref href="/us/stat/41/1008">41 Stat. 1008</ref>; <ref href="/us/act/1940-06-28/ch439">June 28, 1940, ch. 439</ref>, title II, §?23(a), <ref href="/us/stat/54/673">54 Stat. 673</ref>; <ref href="/us/act/1948-05-25/ch338">May 25, 1948, ch. 338</ref>, <ref href="/us/stat/62/268">62 Stat. 268</ref>; <ref href="/us/act/1950-09-23/ch1024">Sept. 23, 1950, ch. 1024</ref>, title I, §?22, <ref href="/us/stat/64/1006">64 Stat. 1006</ref>, related to exclusion of subversive aliens. See sections 1101 and 1182 of this title.</p>
          </note>
          <note topic="removalDescription" id="ida3190637-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 137–1, acts <ref href="/us/act/1918-10-16/ch186">Oct. 16, 1918, ch. 186</ref>, §?2, <ref href="/us/stat/40/1012">40 Stat. 1012</ref>; <ref href="/us/act/1940-06-28/ch439">June 28, 1940, ch. 439</ref>, title II, §?23(b), <ref href="/us/stat/54/673">54 Stat. 673</ref>; <ref href="/us/act/1950-09-23/ch1024">Sept. 23, 1950, ch. 1024</ref>, title I, §?22, <ref href="/us/stat/64/1006">64 Stat. 1006</ref>, related to exceptions as to certain aliens seeking temporary entrance. See <ref href="/us/usc/t8/s1182/d/2">section 1182(d)(2) of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3190638-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 137–2, acts <ref href="/us/act/1918-10-16/ch186">Oct. 16, 1918, ch. 186</ref>, §?3, <ref href="/us/stat/40/1012">40 Stat. 1012</ref>; <ref href="/us/act/1950-09-23/ch1024">Sept. 23, 1950, ch. 1024</ref>, title I, §?22, <ref href="/us/stat/64/1006">64 Stat. 1006</ref>, related to prohibition against issuance of visas to subversive aliens.</p>
          </note>
          <note topic="removalDescription" id="ida3190639-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 137–3, <ref href="/us/act/1918-10-16/ch186">act Oct. 16, 1918, ch. 186</ref>, §?4, as added <ref href="/us/act/1950-09-23/ch1024">Sept. 23, 1950, ch. 1024</ref>, title I, §?22, <ref href="/us/stat/64/1006">64 Stat. 1006</ref>, related to deportation of subversive aliens.</p>
          </note>
          <note topic="removalDescription" id="ida319063a-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Sections 137–4 to 137–8, <ref href="/us/act/1918-10-16/ch186">act Oct. 16, 1918, ch. 186</ref>, §§?5–9, as added <ref href="/us/act/1950-09-23/ch1024">Sept. 23, 1950, ch. 1024</ref>, title I, §?22, <ref href="/us/stat/64/1006">64 Stat. 1006</ref>, related to temporary exclusion of suspects, subversive aliens and penalties. See sections 1102, 1182, 1225, 1253, 1326 and 1327 of this title.</p>
          </note>
          <note topic="removalDescription" id="ida319063b-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 137–9, <ref href="/us/act/1951-03-28/ch23">act Mar. 28, 1951, ch. 23</ref>, §?1, <ref href="/us/stat/65/28">65 Stat. 28</ref>, related to clarification of immigration status of certain aliens.</p>
          </note>
          <note topic="removalDescription" id="ida319063c-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 137–10, <ref href="/us/act/1951-03-28/ch23">act Mar. 28, 1951, ch. 23</ref>, §?2, <ref href="/us/stat/65/28">65 Stat. 28</ref>, related to recordation of entry for permanent residence.</p>
          </note>
        </notes>
      </section>
      <section status="repealed" style="-uslm-lc:I80" id="ida319063d-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s137a">
        <num value="137a">§?137a.</num>
        <heading> Repealed. <ref href="/us/act/1934-05-24/ch344">May 24, 1934, ch. 344</ref>, §?5, <ref href="/us/stat/48/798">48 Stat. 798</ref></heading>
        <notes type="uscNote" id="ida319063e-0381-11e7-859c-c7e65b0ded31">
          <note topic="removalDescription" id="ida319063f-0381-11e7-859c-c7e65b0ded31">
            <p>Section, <ref href="/us/act/1922-09-22/ch411">act Sept. 22, 1922, ch. 411</ref>, §?8, as added <ref href="/us/act/1930-07-03/ch826">July 3, 1930, ch. 826</ref>, <ref href="/us/stat/46/849">46 Stat. 849</ref>, provided as follows:</p>
          </note>
          <note topic="removalDescription" id="ida3190640-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">“§?137a. Married woman whose husband is native-born citizen and veteran of World War. Any woman eligible by race to citizenship who has married a citizen of the United States before <date date="1930-07-03">July 3, 1930</date>, whose husband shall have been a native-born citizen and a member of the military or naval forces of the United States during the World War, and separated therefrom under honorable conditions; if otherwise admissible, shall not be excluded from admission into the United States under <ref href="/us/usc/t8/s136">section 136 of this title</ref>, unless she be excluded under the provisions of that section relating to—</p>
          </note>
          <note topic="removalDescription" id="ida3190641-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">“(a) Persons afflicted with a loathsome or dangerous contagious disease, except tuberculosis in any form;</p>
          </note>
          <note topic="removalDescription" id="ida3190642-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">“(b) Polygamy;</p>
          </note>
          <note topic="removalDescription" id="ida3190643-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">“(c) Prostitutes, procurers, or other like immoral persons;</p>
          </note>
          <note topic="removalDescription" id="ida3190644-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">“(d) Persons convicted of crime: <i>Provided</i>, That no such wife shall be excluded because of offenses committed during legal infancy, while a minor under the age of twenty-one years, and for which the sentences imposed were less than three months, and which were committed more than five years previous to <date date="1930-07-03">July 3, 1930</date>;</p>
          </note>
          <note topic="removalDescription" id="ida3190645-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">“(e) Persons previously deported;</p>
          </note>
          <note topic="removalDescription" id="ida3190646-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">“(f) Contract laborers.</p>
          </note>
          <note topic="removalDescription" id="ida3190647-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">“After admission to the United States she shall be subject to all other provisions of [former] sections 9 and 10 and 367–370 of this title.”</p>
          </note>
          <note style="-uslm-lc:I74" topic="savings" id="ida3190648-0381-11e7-859c-c7e65b0ded31">
            <heading class="centered smallCaps">Savings Clause</heading>
            <p style="-uslm-lc:I21" class="indent0">
              <ref href="/us/act/1934-05-24/ch344">Act May 24, 1934, ch. 344</ref>, §?5, <ref href="/us/stat/48/798">48 Stat. 798</ref>, provided that the repeal of this section should not affect any right or privilege or terminate any citizenship acquired under the section before such repeal.</p>
          </note>
        </notes>
      </section>
      <section status="repealed" style="-uslm-lc:I80" id="ida3190649-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s137b...173">
        <num value="137b to 173">§§?137b to 173.</num>
        <heading> Repealed. <ref href="/us/act/1952-06-27/ch477">June 27, 1952, ch. 477</ref>, title IV, §?403(a)(2), (3), (5), (13), (18), (19), (23), (31), (32), (47), <ref href="/us/stat/66/279">66 Stat. 279</ref>, 280, eff. <date date="1952-12-24">Dec. 24, 1952</date></heading>
        <notes type="uscNote" id="ida319064a-0381-11e7-859c-c7e65b0ded31">
          <note topic="removalDescription" id="ida319064b-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Sections 137b to 137d, <ref href="/us/act/1932-03-17/ch85">act Mar. 17, 1932, ch. 85</ref>, §§?1–3, <ref href="/us/stat/47/67">47 Stat. 67</ref>, related to alien musicians. See <ref href="/us/usc/t8/s1182/a">section 1182(a) of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida319064c-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 138, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?4, <ref href="/us/stat/39/878">39 Stat. 878</ref>, related to importation of aliens for immoral purposes. See sections 1326, 1328 and 1329 of this title.</p>
          </note>
          <note topic="removalDescription" id="ida319064d-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 139, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?5, <ref href="/us/stat/39/879">39 Stat. 879</ref>, related to contract laborers. See <ref href="/us/usc/t8/s1330">section 1330 of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida319064e-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 140, acts <ref href="/us/act/1888-10-19/ch1210">Oct. 19, 1888, ch. 1210</ref>, §?1, <ref href="/us/stat/25/566">25 Stat. 566</ref>; <date date="1904-04-28">Apr. 28, 1904</date>, Pub. R. 33, <ref href="/us/stat/33/591">33 Stat. 591</ref>; <ref href="/us/act/1913-03-04/ch141">Mar. 4, 1913, ch. 141</ref>, §?3, <ref href="/us/stat/37/737">37 Stat. 737</ref>, related to rewards to informer.</p>
          </note>
          <note topic="removalDescription" id="ida319064f-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 141, <ref href="/us/act/1885-02-26/ch164">act Feb. 26, 1885, ch. 164</ref>, §?2, <ref href="/us/stat/23/332">23 Stat. 332</ref>, related to validity of contracts for labor of aliens made before importation.</p>
          </note>
          <note topic="removalDescription" id="ida3190650-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 142, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?6, <ref href="/us/stat/39/879">39 Stat. 879</ref>, related to advertisement of employment. See <ref href="/us/usc/t8/s1330">section 1330 of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3190651-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 143, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?7, <ref href="/us/stat/39/879">39 Stat. 879</ref>, related to solicitation of immigration by transportation companies. See <ref href="/us/usc/t8/s1330">section 1330 of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3190652-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 144, acts <ref href="/us/act/1917-02-05/ch29">Feb. 5, 1917, ch. 29</ref>, §?8, <ref href="/us/stat/39/880">39 Stat. 880</ref>; <ref href="/us/act/1952-03-20/ch108">Mar. 20, 1952, ch. 108</ref>, §?1, <ref href="/us/stat/66/26">66 Stat. 26</ref>, related to bringing in or harboring certain aliens. See <ref href="/us/usc/t8/s1324/a">section 1324(a) of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3190653-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 145, acts <ref href="/us/act/1917-02-05/ch29">Feb. 5, 1917, ch. 29</ref>, §?9, <ref href="/us/stat/39/880">39 Stat. 880</ref>; <ref href="/us/act/1924-05-26/ch190">May 26, 1924, ch. 190</ref>, §?26, <ref href="/us/stat/43/166">43 Stat. 166</ref>, related to bringing in aliens subject to disability or afflicted with disease. See <ref href="/us/usc/t8/s1322">section 1322 of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3190654-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 146, acts <ref href="/us/act/1917-02-05/ch29">Feb. 5, 1917, ch. 29</ref>, §?10, <ref href="/us/stat/39/881">39 Stat. 881</ref>; <ref href="/us/act/1924-05-26/ch190">May 26, 1924, ch. 190</ref>, §?27, <ref href="/us/stat/43/167">43 Stat. 167</ref>, related to prevention of unauthorized landing of aliens. See <ref href="/us/usc/t8/s1321">section 1321 of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3190655-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 147, <ref href="/us/act/1917-02-05/ch27">act Feb. 5, 1917, ch. 27</ref>, §?11, <ref href="/us/stat/39/881">39 Stat. 881</ref>, related to detention of aliens for observation and examination. See <ref href="/us/usc/t8/s1222">section 1222 of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3190656-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 148, acts <ref href="/us/act/1917-02-05/ch29">Feb. 5, 1917, ch. 29</ref>, §?12, <ref href="/us/stat/39/882">39 Stat. 882</ref>; <ref href="/us/act/1932-05-17/ch190">May 17, 1932, ch. 190</ref>, <ref href="/us/stat/47/158">47 Stat. 158</ref>; <ref href="/us/act/1947-07-30/ch384">July 30, 1947, ch. 384</ref>, <ref href="/us/stat/61/630">61 Stat. 630</ref>, related to lists of passengers arriving or departing.</p>
          </note>
          <note topic="removalDescription" id="ida3190657-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 149, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?13, <ref href="/us/stat/39/884">39 Stat. 884</ref>, related to grouping of alien passengers in lists.</p>
          </note>
          <note topic="removalDescription" id="ida3190658-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 150, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?14, <ref href="/us/stat/39/884">39 Stat. 884</ref>, related to refusal or failure to furnish alien passenger list.</p>
          </note>
          <note topic="removalDescription" id="ida3190659-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 151, acts <ref href="/us/act/1917-02-05/ch29">Feb. 5, 1917, ch. 29</ref>, §?15, <ref href="/us/stat/39/885">39 Stat. 885</ref>; <ref href="/us/act/1944-12-19/ch608">Dec. 19, 1944, ch. 608</ref>, §?1, <ref href="/us/stat/58/816">58 Stat. 816</ref>, related to inspection of alien passengers on arrival. See section 1223(a), (b) of this title.</p>
          </note>
          <note topic="removalDescription" id="ida319065a-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 152, acts <ref href="/us/act/1917-02-05/ch29">Feb. 5, 1917, ch. 29</ref>, §?16, <ref href="/us/stat/39/885">39 Stat. 885</ref>; <ref href="/us/act/1944-07-01/ch373">July 1, 1944, ch. 373</ref>, title VII, §?713, formerly title VI, §?611, <ref href="/us/stat/58/714">58 Stat. 714</ref>, 716, renumbered title VII, §?711, <ref href="/us/act/1946-08-13/ch958">Aug. 13, 1946, ch. 958</ref>, §?5, <ref href="/us/stat/60/1049">60 Stat. 1049</ref>, renumbered title VII, §?713, <ref href="/us/act/1948-02-28/ch83">Feb. 28, 1948, ch. 83</ref>, §?9(b), <ref href="/us/stat/62/47">62 Stat. 47</ref>, related to physical and mental examination of alien passengers. See sections 1222 and 1362 of this title.</p>
          </note>
          <note topic="removalDescription" id="ida319065b-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 153, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?17, <ref href="/us/stat/39/887">39 Stat. 887</ref>, related to boards of special inquiry.</p>
          </note>
          <note topic="removalDescription" id="ida319065c-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 154, acts <ref href="/us/act/1917-02-05/ch29">Feb. 5, 1917, ch. 29</ref>, §?18, <ref href="/us/stat/39/887">39 Stat. 887</ref>; <ref href="/us/act/1929-03-04/ch690">Mar. 4, 1929, ch. 690</ref>, §?1(e), <ref href="/us/stat/45/1551">45 Stat. 1551</ref>; <ref href="/us/act/1944-12-19/ch608">Dec. 19, 1944, ch. 608</ref>, §?2, <ref href="/us/stat/58/816">58 Stat. 816</ref>, related to immediate deportation of aliens brought in in violation of law.</p>
          </note>
          <note topic="removalDescription" id="ida319065d-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 155, acts <ref href="/us/act/1917-02-05/ch29">Feb. 5, 1917, ch. 29</ref>, §?19, <ref href="/us/stat/39/889">39 Stat. 889</ref>; <ref href="/us/act/1940-06-28/ch439">June 28, 1940, ch. 439</ref>, title II, §?20, <ref href="/us/stat/54/671">54 Stat. 671</ref>; <ref href="/us/act/1942-12-08/ch697">Dec. 8, 1942, ch. 697</ref>, <ref href="/us/stat/56/1044">56 Stat. 1044</ref>; <ref href="/us/act/1948-07-01/ch783">July 1, 1948, ch. 783</ref>, <ref href="/us/stat/62/1206">62 Stat. 1206</ref>, related to deportation of undesirable aliens generally; see sections 1227 and 1351 of this title. Section 22 of act <date date="1940-06-28">June 28, 1940</date> provided that no alien should be deportable by reason of amendments to former <ref href="/us/usc/t8/s155">section 155 of this title</ref> by said act, on account of any act committed prior to the date of enactment of that act [<date date="1940-06-28">June 28, 1940</date>].</p>
          </note>
          <note topic="removalDescription" id="ida319065e-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 155a, <ref href="/us/act/1950-09-27/ch1052">act Sept. 27, 1950, ch. 1052</ref>, ch. III, <ref href="/us/stat/64/1048">64 Stat. 1048</ref>, related to deportation or exclusion proceedings unaffected by the Administrative Procedure Act.</p>
          </note>
          <note topic="removalDescription" id="ida319065f-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 156, acts <ref href="/us/act/1917-02-05/ch29">Feb. 5, 1917, ch. 29</ref>, §?20, <ref href="/us/stat/39/890">39 Stat. 890</ref>; <ref href="/us/act/1943-07-13/ch230">July 13, 1943, ch. 230</ref>, <ref href="/us/stat/57/553">57 Stat. 553</ref>; <ref href="/us/act/1950-09-23/ch1024">Sept. 23, 1950, ch. 1024</ref>, title I, §?23, <ref href="/us/stat/64/1010">64 Stat. 1010</ref>; <ref href="/us/act/1952-06-18/ch442">June 18, 1952, ch. 442</ref>, <ref href="/us/stat/66/138">66 Stat. 138</ref>, related to control over, and facilitation of deportation. See <ref href="/us/usc/t8/s1227">section 1227 of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3190660-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 156a, acts <ref href="/us/act/1931-02-18/ch224">Feb. 18, 1931, ch. 224</ref>, <ref href="/us/stat/46/1171">46 Stat. 1171</ref>; <ref href="/us/act/1940-06-28/ch439">June 28, 1940, ch. 439</ref>, title II, §?21, <ref href="/us/stat/54/673">54 Stat. 673</ref>, related to deportation of aliens engaged in narcotic traffic. Section 22 of act <date date="1940-06-28">June 28, 1940</date>, provided that no alien should be deportable by reason of amendments to former <ref href="/us/usc/t8/s156a">section 156a of this title</ref> by said act, on account of any act committed prior to the date of enactment of that act [<date date="1940-06-28">June 28, 1940</date>].</p>
          </note>
          <note topic="removalDescription" id="ida3190661-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 157, <ref href="/us/act/1920-05-10/ch174">act May 10, 1920, ch. 174</ref>, §§?1–3, <ref href="/us/stat/41/593">41 Stat. 593</ref>, 594, related to deportation of aliens convicted of war-time offenses.</p>
          </note>
          <note topic="removalDescription" id="ida3190662-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Sections 158 to 163, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §§?21–23, 28, <ref href="/us/stat/39/891-894">39 Stat. 891–894</ref>, related to admission of aliens, detention, etc. See sections 1103(a), 1183, and 1327 of this title.</p>
          </note>
          <note topic="removalDescription" id="ida3190663-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 164, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?25, <ref href="/us/stat/39/893">39 Stat. 893</ref>, related to jurisdiction of district courts. See <ref href="/us/usc/t8/s1329">section 1329 of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3190664-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 165, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?31, <ref href="/us/stat/39/895">39 Stat. 895</ref>, related to signing alien on ship’s articles with intent to permit landing in violation of law. See <ref href="/us/usc/t8/s1287">section 1287 of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3190665-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 166, acts <ref href="/us/act/1917-02-05/ch29">Feb. 5, 1917, ch. 29</ref>, §?34, <ref href="/us/stat/39/896">39 Stat. 896</ref>; <ref href="/us/act/1924-05-26/ch190">May 26, 1924, ch. 190</ref>, §?19, <ref href="/us/stat/43/164">43 Stat. 164</ref>, related to landing of excluded seamen. See sections 1282(b) and 1287 of this title.</p>
          </note>
          <note topic="removalDescription" id="ida3190666-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 167, acts <ref href="/us/act/1924-05-26/ch190">May 26, 1924, ch. 190</ref>, §?20(a)–(c), <ref href="/us/stat/43/164">43 Stat. 164</ref>; <ref href="/us/act/1944-12-19/ch608">Dec. 19, 1944, ch. 608</ref>, §?4, <ref href="/us/stat/58/817">58 Stat. 817</ref>, related to control of alien seamen. See <ref href="/us/usc/t8/s1284">section 1284 of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3190667-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 168, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?33, <ref href="/us/stat/39/896">39 Stat. 896</ref>, related to paying off or discharging alien seamen. See sections 1282(a) and 1286 of this title.</p>
          </note>
          <note topic="removalDescription" id="ida3190668-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 169, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?35, <ref href="/us/stat/39/896">39 Stat. 896</ref>, related to employment on passenger vessels of aliens suffering with mental disabilities. See <ref href="/us/usc/t8/s1285">section 1285 of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3190669-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 170, <ref href="/us/act/1920-12-26/ch4">act Dec. 26, 1920, ch. 4</ref>, <ref href="/us/stat/41/1082">41 Stat. 1082</ref>, related to treatment in hospitals of alien seamen. See <ref href="/us/usc/t8/s1283">section 1283 of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida319066a-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 171, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?36, <ref href="/us/stat/39/896">39 Stat. 896</ref>, related to lists of aliens employed on vessels arriving from foreign ports. See <ref href="/us/usc/t8/s1281">section 1281 of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida319066b-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 172, acts <ref href="/us/act/1893-03-03/ch206">Mar. 3, 1893, ch. 206</ref>, §?8, <ref href="/us/stat/27/570">27 Stat. 570</ref>; <ref href="/us/act/1903-02-14/ch552">Feb. 14, 1903, ch. 552</ref>, §?7, <ref href="/us/stat/32/328">32 Stat. 328</ref>; <ref href="/us/act/1913-03-04/ch141">Mar. 4, 1913, ch. 141</ref>, §?3, <ref href="/us/stat/37/737">37 Stat. 737</ref>, related to posting of laws by agents of steamship companies.</p>
          </note>
          <note topic="removalDescription" id="ida319066c-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 173, acts <ref href="/us/act/1917-02-05/ch29">Feb. 5, 1917, ch. 29</ref>, §§?1, 37, <ref href="/us/stat/39/874">39 Stat. 874</ref>, 897; <ref href="/us/act/1924-06-02/ch233">June 2, 1924, ch. 233</ref>, <ref href="/us/stat/43/253">43 Stat. 253</ref>, related to definitions of aliens, seamen, etc. See section 1101(a)(3), (10), (38), (b)(3), (d)(7) of this title.</p>
          </note>
        </notes>
      </section>
      <section status="omitted" style="-uslm-lc:I80" id="ida319066d-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s174">
        <num value="174">§?174.</num>
        <heading> Omitted</heading>
        <notes type="uscNote" id="ida319066e-0381-11e7-859c-c7e65b0ded31">
          <note style="-uslm-lc:I76" topic="codification" id="ida319066f-0381-11e7-859c-c7e65b0ded31">
            <heading class="centered smallCaps">Codification</heading>
            <p style="-uslm-lc:I21" class="indent0">Section, acts <ref href="/us/act/1894-08-18/ch301">Aug. 18, 1894, ch. 301</ref>, §?1, <ref href="/us/stat/28/390">28 Stat. 390</ref>; <ref href="/us/act/1903-02-14/ch552">Feb. 14, 1903, ch. 552</ref>, §?7, <ref href="/us/stat/32/828">32 Stat. 828</ref>; <ref href="/us/act/1913-03-04/ch141">Mar. 4, 1913, ch. 141</ref>, §?3, <ref href="/us/stat/37/737">37 Stat. 737</ref>; 1940 Reorg. Plan No. V, eff. <date date="1940-06-14">June 14, 1940</date>, 5 F.R. 2423, <ref href="/us/stat/54/1238">54 Stat. 1238</ref>, which related to finality of decisions of immigration officers, was transferred to section 342j of former Title 5, Executive Departments and Government Officers and Employees, and subsequently eliminated from the Code on enactment of Title 5, Government Organization and Employees, by <ref href="/us/pl/89/554">Pub. L. 89–554</ref>, <date date="1966-09-06">Sept. 6, 1966</date>, <ref href="/us/stat/80/378">80 Stat. 378</ref>.</p>
          </note>
        </notes>
      </section>
      <section status="repealed" style="-uslm-lc:I80" id="ida3190670-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s175...181">
        <num value="175 to 181">§§?175 to 181.</num>
        <heading> Repealed. <ref href="/us/act/1952-06-27/ch477">June 27, 1952, ch. 477</ref>, title IV, §?403(a)(12), (13), (23), (30), (33), <ref href="/us/stat/66/279">66 Stat. 279</ref>, eff. <date date="1952-12-24">Dec. 24, 1952</date></heading>
        <notes type="uscNote" id="ida3190671-0381-11e7-859c-c7e65b0ded31">
          <note topic="removalDescription" id="ida3190672-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 175, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?1, <ref href="/us/stat/39/874">39 Stat. 874</ref>, related to application of laws to Philippine Islands.</p>
          </note>
          <note topic="removalDescription" id="ida3190673-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 176, <ref href="/us/act/1934-03-15/ch70">act Mar. 15, 1934, ch. 70</ref>, §?1, <ref href="/us/stat/48/435">48 Stat. 435</ref>, related to disposition of moneys received or paid for detention of aliens. See <ref href="/us/usc/t8/s1356/a">section 1356(a) of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3190674-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 177, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?29, <ref href="/us/stat/39/894">39 Stat. 894</ref>, related to international conference for regulation of immigration of aliens.</p>
          </note>
          <note topic="removalDescription" id="ida3190675-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 178, <ref href="/us/act/1917-02-05/ch29">act Feb. 5, 1917, ch. 29</ref>, §?38, <ref href="/us/stat/39/897">39 Stat. 897</ref>, provided for the effective date of the act of <date date="1917-02-05">Feb. 5, 1917</date>, repealed specified provisions, and set forth laws unaffected by the enactment of this act.</p>
          </note>
          <note topic="removalDescription" id="ida3190676-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 179, <ref href="/us/act/1924-05-26/ch190">act May 26, 1924, ch. 190</ref>, §?21(b), <ref href="/us/stat/43/165">43 Stat. 165</ref>, related to blank forms of manifest and crew lists. See <ref href="/us/usc/t8/s1352/b">section 1352(b) of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3190677-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 180, acts <ref href="/us/act/1929-03-04/ch690">Mar. 4, 1929, ch. 690</ref>, §?1(a)–(c), <ref href="/us/stat/45/1551">45 Stat. 1551</ref>; <ref href="/us/act/1929-06-24/ch40">June 24, 1929, ch. 40</ref>, <ref href="/us/stat/46/41">46 Stat. 41</ref>, related to reentry or attempted reentry of deported aliens. See sections 1101(g) and 1326 of this title.</p>
          </note>
          <note topic="removalDescription" id="ida3190678-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Sections 180a to 180d, <ref href="/us/act/1929-03-04/ch690">act Mar. 4, 1929, ch. 690</ref>, §§?2–5, <ref href="/us/stat/45/1551">45 Stat. 1551</ref>, 1552, related to reentry or attempted reentry of deported aliens. See sections 1101, 1182, 1203, and 1325 of this title.</p>
          </note>
          <note topic="removalDescription" id="ida3190679-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 181, <ref href="/us/act/1932-05-25/ch203">act May 25, 1932, ch. 203</ref>, §?7, <ref href="/us/stat/47/166">47 Stat. 166</ref>, related to reentry of deported aliens. See <ref href="/us/usc/t8/s1326">section 1326 of this title</ref>.</p>
          </note>
        </notes>
      </section>
    </subchapter>
    <subchapter style="-uslm-lc:I81" id="ida319067a-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/ch6/schIII">
      <num value="III">SUBCHAPTER III—</num>
      <heading>QUOTA AND NONQUOTA IMMIGRANTS</heading>
      <section status="repealed" style="-uslm-lc:I80" id="ida319067b-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s201...204">
        <num value="201 to 204">§§?201 to 204.</num>
        <heading> Repealed. <ref href="/us/act/1952-06-27/ch477">June 27, 1952, ch. 477</ref>, title IV, §?403(a)(23), (24), <ref href="/us/stat/66/279">66 Stat. 279</ref>, eff. <date date="1952-12-24">Dec. 24, 1952</date></heading>
        <notes type="uscNote" id="ida319067c-0381-11e7-859c-c7e65b0ded31">
          <note topic="removalDescription" id="ida319067d-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 201, <ref href="/us/act/1924-05-26/ch190">act May 26, 1924, ch. 190</ref>, §?1, <ref href="/us/stat/43/153">43 Stat. 153</ref>, related to short title.</p>
          </note>
          <note topic="removalDescription" id="ida319067e-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 202, acts <ref href="/us/act/1924-05-26/ch190">May 26, 1924, ch. 190</ref>, §?2, <ref href="/us/stat/43/153">43 Stat. 153</ref>; <ref href="/us/act/1925-02-25/ch316">Feb. 25, 1925, ch. 316</ref>, <ref href="/us/stat/43/976">43 Stat. 976</ref>, related to immigration visas. See sections 1201 and 1351 of this title.</p>
          </note>
          <note topic="removalDescription" id="ida319067f-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 203, acts <ref href="/us/act/1924-05-26/ch190">May 26, 1924, ch. 190</ref>, §?3, <ref href="/us/stat/43/154">43 Stat. 154</ref>; <ref href="/us/act/1932-07-06/ch434">July 6, 1932, ch. 434</ref>, <ref href="/us/stat/47/607">47 Stat. 607</ref>; <ref href="/us/act/1940-07-01/ch502">July 1, 1940, ch. 502</ref>, §?1, <ref href="/us/stat/54/711">54 Stat. 711</ref>; <ref href="/us/act/1945-12-29/ch652">Dec. 29, 1945, ch. 652</ref>, title I, §?7(c), <ref href="/us/stat/59/672">59 Stat. 672</ref>, defined immigrant. See <ref href="/us/usc/t8/s1101">section 1101 of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3190680-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 204, acts <ref href="/us/act/1924-05-26/ch190">May 26, 1924, ch. 190</ref>, §?4, <ref href="/us/stat/43/155">43 Stat. 155</ref>; <ref href="/us/act/1926-07-03/ch738">July 3, 1926, ch. 738</ref>, §?1, <ref href="/us/stat/44/812">44 Stat. 812</ref>; <ref href="/us/act/1928-05-29/ch914">May 29, 1928, ch. 914</ref>, §§?1, 2, <ref href="/us/stat/45/1009">45 Stat. 1009</ref>; <ref href="/us/act/1930-07-03/ch835">July 3, 1930, ch. 835</ref>, §?3, <ref href="/us/stat/46/854">46 Stat. 854</ref>; <ref href="/us/act/1932-07-11/ch471">July 11, 1932, ch. 471</ref>, §?1, <ref href="/us/stat/47/656">47 Stat. 656</ref>; <ref href="/us/act/1948-05-19/ch311">May 19, 1948, ch. 311</ref>, §?1, <ref href="/us/stat/62/241">62 Stat. 241</ref>, defined nonquota immigrant. See <ref href="/us/usc/t8/s1101">section 1101 of this title</ref>.</p>
          </note>
        </notes>
      </section>
      <section status="omitted" style="-uslm-lc:I80" id="ida3190681-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s204a /us/usc/t8/s204b">
        <num value="204a, 204b">§§?204a, 204b.</num>
        <heading> Omitted</heading>
        <notes type="uscNote" id="ida3190682-0381-11e7-859c-c7e65b0ded31">
          <note style="-uslm-lc:I76" topic="codification" id="ida3190683-0381-11e7-859c-c7e65b0ded31">
            <heading class="centered smallCaps">Codification</heading>
            <p style="-uslm-lc:I21" class="indent0">Sections related to natives of Virgin Islands residing in foreign countries on <date date="1932-06-22">June 22, 1932</date>, and were based on <ref href="/us/act/1932-06-28/ch283">act June 28, 1932, ch. 283</ref>, §§?1, 2, <ref href="/us/stat/47/336">47 Stat. 336</ref>. Former <ref href="/us/usc/t8/s204b">section 204b of this title</ref> provided that section 204a should not apply after <date date="1934-06-28">June 28, 1934</date>.</p>
          </note>
        </notes>
      </section>
      <section status="repealed" style="-uslm-lc:I80" id="ida3190684-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s204c...219">
        <num value="204c to 219">§§?204c to 219.</num>
        <heading> Repealed. <ref href="/us/act/1952-06-27/ch477">June 27, 1952, ch. 477</ref>, title IV, §?403(a)(23), (36), (44), (45), <ref href="/us/stat/66/279">66 Stat. 279</ref>, 280, eff. <date date="1952-12-24">Dec. 24, 1952</date></heading>
        <notes type="uscNote" id="ida3190685-0381-11e7-859c-c7e65b0ded31">
          <note topic="removalDescription" id="ida3190686-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 204c, <ref href="/us/act/1932-06-28/ch283">act June 28, 1932, ch. 283</ref>, §?3, <ref href="/us/stat/47/336">47 Stat. 336</ref>, related to deportation as public charge.</p>
          </note>
          <note topic="removalDescription" id="ida3190687-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 204d, <ref href="/us/act/1932-06-28/ch283">act June 28, 1932, ch. 283</ref>, §?4, <ref href="/us/stat/47/336">47 Stat. 336</ref>, related to definitions.</p>
          </note>
          <note topic="removalDescription" id="ida3190688-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 205, <ref href="/us/act/1924-05-26/ch190">act May 26, 1924, ch. 190</ref>, §?5, <ref href="/us/stat/43/155">43 Stat. 155</ref>, defined quota immigrant.</p>
          </note>
          <note topic="removalDescription" id="ida3190689-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 206, acts <ref href="/us/act/1924-05-26/ch190">May 26, 1924, ch. 190</ref>, §?6, <ref href="/us/stat/43/155">43 Stat. 155</ref>; <ref href="/us/act/1928-05-29/ch914">May 29, 1928, ch. 914</ref>, §?3, <ref href="/us/stat/45/1009">45 Stat. 1009</ref>; <ref href="/us/act/1932-07-11/ch471">July 11, 1932, ch. 471</ref>, §?2, <ref href="/us/stat/47/656">47 Stat. 656</ref>; <ref href="/us/act/1948-05-19/ch311">May 19, 1948, ch. 311</ref>, §?2, <ref href="/us/stat/62/241">62 Stat. 241</ref>, related to enumeration of preferences within quotas.</p>
          </note>
          <note topic="removalDescription" id="ida319068a-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 207, <ref href="/us/act/1924-05-26/ch190">act May 26, 1924, ch. 190</ref>, §?7, <ref href="/us/stat/43/156">43 Stat. 156</ref>, related to application for visas.</p>
          </note>
          <note topic="removalDescription" id="ida319068b-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 208, <ref href="/us/act/1924-05-26/ch190">act May 26, 1924, ch. 190</ref>, §?8, <ref href="/us/stat/43/156">43 Stat. 156</ref>, related to nonquota immigration visas.</p>
          </note>
          <note topic="removalDescription" id="ida319068c-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 209, acts <ref href="/us/act/1924-05-26/ch190">May 26, 1924, ch. 190</ref>, §?9, <ref href="/us/stat/43/157">43 Stat. 157</ref>; <ref href="/us/act/1937-05-14/ch182">May 14, 1937, ch. 182</ref>, §?1, <ref href="/us/stat/50/164">50 Stat. 164</ref>, related to visas of nonquota and preferred immigrants.</p>
          </note>
          <note topic="removalDescription" id="ida319068d-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 210, acts <ref href="/us/act/1924-05-26/ch190">May 26, 1924, ch. 190</ref>, §?10, <ref href="/us/stat/43/158">43 Stat. 158</ref>; <ref href="/us/act/1948-06-03/ch403">June 3, 1948, ch. 403</ref>, <ref href="/us/stat/62/335">62 Stat. 335</ref>, related to reentry permits.</p>
          </note>
          <note topic="removalDescription" id="ida319068e-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 211, acts <ref href="/us/act/1924-05-26/ch190">May 26, 1924, ch. 190</ref>, §?11, <ref href="/us/stat/43/159">43 Stat. 159</ref>; <ref href="/us/act/1927-03-04/ch514">Mar. 4, 1927, ch. 514</ref>, <ref href="/us/stat/44/1455">44 Stat. 1455</ref>; <ref href="/us/act/1928-03-31/ch306">Mar. 31, 1928, ch. 306</ref>, <ref href="/us/stat/45/400">45 Stat. 400</ref>, related to immigration quotas as determined by national origin.</p>
          </note>
          <note topic="removalDescription" id="ida319068f-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 212, <ref href="/us/act/1924-05-26/ch190">act May 26, 1924, ch. 190</ref>, §?12, <ref href="/us/stat/43/160">43 Stat. 160</ref>, related to determination of nationality. See <ref href="/us/usc/t8/s1152">section 1152 of this title</ref>.</p>
          </note>
          <note topic="removalDescription" id="ida3190690-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 212a, acts <ref href="/us/act/1943-12-17/ch344">Dec. 17, 1943, ch. 344</ref>, §?2, <ref href="/us/stat/57/601">57 Stat. 601</ref>; <ref href="/us/act/1946-08-09/ch945">Aug. 9, 1946, ch. 945</ref>, §?2, <ref href="/us/stat/60/975">60 Stat. 975</ref>, related to reentry permits for Chinese persons.</p>
          </note>
          <note topic="removalDescription" id="ida3190691-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 212b, <ref href="/us/act/1946-07-02/ch534">act July 2, 1946, ch. 534</ref>, §?4, <ref href="/us/stat/60/417">60 Stat. 417</ref>, related to reentry permits for Indians and races indigenous to India.</p>
          </note>
          <note topic="removalDescription" id="ida3190692-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 212c, <ref href="/us/act/1946-07-02/ch534">act July 2, 1946, ch. 534</ref>, §?5, <ref href="/us/stat/60/417">60 Stat. 417</ref>, related to definitions and allocations of quota.</p>
          </note>
          <note topic="removalDescription" id="ida3190693-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 213, acts <ref href="/us/act/1924-05-26/ch190">May 26, 1924, ch. 190</ref>, §?13, <ref href="/us/stat/43/161">43 Stat. 161</ref>; <ref href="/us/act/1930-06-13/ch476">June 13, 1930, ch. 476</ref>, <ref href="/us/stat/46/581">46 Stat. 581</ref>; <ref href="/us/act/1937-05-14/ch182">May 14, 1937, ch. 182</ref>, §?2, <ref href="/us/stat/50/165">50 Stat. 165</ref>; <ref href="/us/act/1946-08-09/ch945">Aug. 9, 1946, ch. 945</ref>, §?1, <ref href="/us/stat/60/975">60 Stat. 975</ref>, related to compliance with immigration requirements.</p>
          </note>
          <note topic="removalDescription" id="ida3190694-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 213a, <ref href="/us/act/1937-05-14/ch182">act May 14, 1937, ch. 182</ref>, §?3, <ref href="/us/stat/50/165">50 Stat. 165</ref>, related to deportation of alien securing visa through fraudulent marriage.</p>
          </note>
          <note topic="removalDescription" id="ida3190695-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 214, <ref href="/us/act/1924-05-26/ch190">act May 26, 1924, ch. 190</ref>, §?14, <ref href="/us/stat/43/162">43 Stat. 162</ref>, related to deportation and procedure thereunder.</p>
          </note>
          <note topic="removalDescription" id="ida3190696-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 215, acts <ref href="/us/act/1924-05-26/ch190">May 26, 1924, ch. 190</ref>, §?15, <ref href="/us/stat/43/162">43 Stat. 162</ref>; <ref href="/us/act/1932-07-01/ch363">July 1, 1932, ch. 363</ref>, <ref href="/us/stat/47/524">47 Stat. 524</ref>; <ref href="/us/act/1940-07-01/ch502">July 1, 1940, ch. 502</ref>, §?2, <ref href="/us/stat/54/711">54 Stat. 711</ref>; <ref href="/us/act/1945-12-29/ch652">Dec. 29, 1945, ch. 652</ref>, title I, §?7(d), <ref href="/us/stat/59/672">59 Stat. 672</ref>, related to admission of persons excepted from definition of immigrant and nonquota immigrants.</p>
          </note>
          <note topic="removalDescription" id="ida3190697-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 216, acts <ref href="/us/act/1924-05-26/ch190">May 26, 1924, ch. 190</ref>, §?16, <ref href="/us/stat/43/163">43 Stat. 163</ref>; <ref href="/us/act/1944-12-19/ch608">Dec. 19, 1944, ch. 608</ref>, §?3, <ref href="/us/stat/58/817">58 Stat. 817</ref>, related to unlawful bringing of aliens into United States by water.</p>
          </note>
          <note topic="removalDescription" id="ida3190698-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 217, <ref href="/us/act/1924-05-26/ch190">act May 26, 1924, ch. 190</ref>, §?17, <ref href="/us/stat/43/163">43 Stat. 163</ref>, related to contracts with transportation lines.</p>
          </note>
          <note topic="removalDescription" id="ida3190699-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 218, <ref href="/us/act/1924-05-26/ch190">act May 26, 1924, ch. 190</ref>, §?18, <ref href="/us/stat/43/164">43 Stat. 164</ref>, related to unused immigration visas.</p>
          </note>
          <note topic="removalDescription" id="ida319069a-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 219, <ref href="/us/act/1924-05-26/ch190">act May 26, 1924, ch. 190</ref>, §?21(a), <ref href="/us/stat/43/165">43 Stat. 165</ref>, related to reentry permits.</p>
          </note>
        </notes>
      </section>
      <section status="repealed" style="-uslm-lc:I80" id="ida319069b-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s220">
        <num value="220">§?220.</num>
        <heading> Repealed. <ref href="/us/act/1948-06-25/ch645">June 25, 1948, ch. 645</ref>, §?21, <ref href="/us/stat/62/862">62 Stat. 862</ref>, eff. <date date="1948-09-01">Sept. 1, 1948</date></heading>
        <notes type="uscNote" id="ida319069c-0381-11e7-859c-c7e65b0ded31">
          <note topic="removalDescription" id="ida319069d-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section, <ref href="/us/act/1924-05-26/ch190">act May 26, 1924, ch. 190</ref>, §?22, <ref href="/us/stat/43/165">43 Stat. 165</ref>, related to forging, counterfeiting, etc., of reentry permits. See <ref href="/us/usc/t18/s1546">section 1546 of Title 18</ref>, Crimes and Criminal Procedure.</p>
          </note>
        </notes>
      </section>
      <section status="repealed" style="-uslm-lc:I80" id="ida319069e-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s221...227">
        <num value="221 to 227">§§?221 to 227.</num>
        <heading> Repealed. <ref href="/us/act/1952-06-27/ch477">June 27, 1952, ch. 477</ref>, title IV, §?403(a)(20), (22), (23), (29), <ref href="/us/stat/66/279">66 Stat. 279</ref>, eff. <date date="1952-12-24">Dec. 24, 1952</date></heading>
        <notes type="uscNote" id="ida319069f-0381-11e7-859c-c7e65b0ded31">
          <note topic="removalDescription" id="ida31906a0-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 221, <ref href="/us/act/1924-05-26/ch190">act May 26, 1924, ch. 190</ref>, §?23, <ref href="/us/stat/43/165">43 Stat. 165</ref>, related to burden of proof upon entry of alien or in deportation proceedings.</p>
          </note>
          <note topic="removalDescription" id="ida31906a1-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 222, <ref href="/us/act/1924-05-26/ch190">act May 26, 1924, ch. 190</ref>, §?24, <ref href="/us/stat/43/166">43 Stat. 166</ref>, related to rules and regulations.</p>
          </note>
          <note topic="removalDescription" id="ida31906a2-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 223, <ref href="/us/act/1924-05-26/ch190">act May 26, 1924, ch. 190</ref>, §?25, <ref href="/us/stat/43/166">43 Stat. 166</ref>, related to quota law as additional to other immigration laws.</p>
          </note>
          <note topic="removalDescription" id="ida31906a3-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 224, acts <ref href="/us/act/1924-05-26/ch190">May 26, 1924, ch. 190</ref>, §?28(a)–(e), (g)–(n), <ref href="/us/stat/43/168">43 Stat. 168</ref>; <ref href="/us/act/1924-06-02/ch233">June 2, 1924, ch. 233</ref>, <ref href="/us/stat/43/253">43 Stat. 253</ref>; <ref href="/us/act/1945-10-29/ch437">Oct. 29, 1945, ch. 437</ref>, <ref href="/us/stat/59/551">59 Stat. 551</ref>, related to definitions.</p>
          </note>
          <note topic="removalDescription" id="ida31906a4-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 225, <ref href="/us/act/1924-05-26/ch190">act May 26, 1924, ch. 190</ref>, §?29, <ref href="/us/stat/43/169">43 Stat. 169</ref>, related to appropriations.</p>
          </note>
          <note topic="removalDescription" id="ida31906a5-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 226, <ref href="/us/act/1924-05-26/ch190">act May 26, 1924, ch. 190</ref>, §?32, <ref href="/us/stat/43/169">43 Stat. 169</ref>, related to partial invalidity.</p>
          </note>
          <note topic="removalDescription" id="ida31906a6-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 226a, <ref href="/us/act/1928-04-02/ch308">act Apr. 2, 1928, ch. 308</ref>, <ref href="/us/stat/45/401">45 Stat. 401</ref>, related to American Indians born in Canada.</p>
          </note>
          <note topic="removalDescription" id="ida31906a7-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 227, <ref href="/us/act/1922-12-27/ch15">act Dec. 27, 1922, ch. 15</ref>, <ref href="/us/stat/42/1065">42 Stat. 1065</ref>, related to admission of certain aliens in excess of quotas.</p>
          </note>
        </notes>
      </section>
      <section status="omitted" style="-uslm-lc:I80" id="ida31906a8-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s228">
        <num value="228">§?228.</num>
        <heading> Omitted</heading>
        <notes type="uscNote" id="ida31906a9-0381-11e7-859c-c7e65b0ded31">
          <note style="-uslm-lc:I76" topic="codification" id="ida31906aa-0381-11e7-859c-c7e65b0ded31">
            <heading class="centered smallCaps">Codification</heading>
            <p style="-uslm-lc:I21" class="indent0">Section, <ref href="/us/act/1924-06-07/ch379">act June 7, 1924, ch. 379</ref>, <ref href="/us/stat/43/669">43 Stat. 669</ref>, related to aliens who entered prior to <date date="1924-07-01">July 1, 1924</date> under quota of 1921, and was omitted as executed.</p>
          </note>
        </notes>
      </section>
      <section status="repealed" style="-uslm-lc:I80" id="ida31906ab-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s229...231">
        <num value="229 to 231">§§?229 to 231.</num>
        <heading> Repealed. <ref href="/us/act/1952-06-27/ch477">June 27, 1952, ch. 477</ref>, title IV, §?403(a)(17), (23), (27), <ref href="/us/stat/66/279">66 Stat. 279</ref>, eff. <date date="1952-12-24">Dec. 24, 1952</date></heading>
        <notes type="uscNote" id="ida31906ac-0381-11e7-859c-c7e65b0ded31">
          <note topic="removalDescription" id="ida31906ad-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 229, acts <ref href="/us/act/1921-05-19/ch8">May 19, 1921, ch. 8</ref>, <ref href="/us/stat/42/5">42 Stat. 5</ref>; <ref href="/us/act/1924-05-26/ch190">May 26, 1924, ch. 190</ref>, §?30, <ref href="/us/stat/43/169">43 Stat. 169</ref>, related to imposition and enforcement of penalties under act <date date="1921-05-19">May 19, 1921</date>.</p>
          </note>
          <note topic="removalDescription" id="ida31906ae-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 230, Joint Res. <ref href="/us/act/1918-10-16/ch190">Oct. 16, 1918, ch. 190</ref>, <ref href="/us/stat/40/1014">40 Stat. 1014</ref>, related to alien residents conscripted or volunteering for service during World War I.</p>
          </note>
          <note topic="removalDescription" id="ida31906af-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Section 231, <ref href="/us/act/1926-05-26/ch400">act May 26, 1926, ch. 400</ref>, <ref href="/us/stat/44/657">44 Stat. 657</ref>, related to admission into Puerto Rico of certain resident Spanish subjects.</p>
          </note>
        </notes>
      </section>
      <section status="omitted" style="-uslm-lc:I80" id="ida31906b0-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s232...237">
        <num value="232 to 237">§§?232 to 237.</num>
        <heading> Omitted</heading>
        <notes type="uscNote" id="ida31906b1-0381-11e7-859c-c7e65b0ded31">
          <note style="-uslm-lc:I76" topic="codification" id="ida31906b2-0381-11e7-859c-c7e65b0ded31">
            <heading class="centered smallCaps">Codification</heading>
            <p style="-uslm-lc:I21" class="indent0">Sections 232 to 236, <ref href="/us/act/1945-12-28/ch591">act Dec. 28, 1945, ch. 591</ref>, §§?1–5, <ref href="/us/stat/59/659">59 Stat. 659</ref>, relating to admission of alien spouses and minor children of World War II veterans, omitted as expired three years after <date date="1945-12-28">Dec. 28, 1945</date>.</p>
            <p style="-uslm-lc:I21" class="indent0">Section 237, <ref href="/us/act/1945-12-28/ch591">act Dec. 28, 1945, ch. 591</ref>, §?6, added <ref href="/us/act/1947-07-22/ch289">July 22, 1947, ch. 289</ref>, <ref href="/us/stat/61/401">61 Stat. 401</ref>.</p>
          </note>
        </notes>
      </section>
      <section status="transferred" style="-uslm-lc:I80" id="ida31906b3-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s238">
        <num value="238">§?238.</num>
        <heading> Transferred</heading>
        <notes type="uscNote" id="ida31906b4-0381-11e7-859c-c7e65b0ded31">
          <note style="-uslm-lc:I76" topic="codification" id="ida31906b5-0381-11e7-859c-c7e65b0ded31">
            <heading class="centered smallCaps">Codification</heading>
            <p style="-uslm-lc:I21" class="indent0">Section transferred to <ref href="/us/usc/t8/s1557">section 1557 of this title</ref>.</p>
          </note>
        </notes>
      </section>
      <section status="omitted" style="-uslm-lc:I80" id="ida31906b6-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s239">
        <num value="239">§?239.</num>
        <heading> Omitted</heading>
        <notes type="uscNote" id="ida31b76b7-0381-11e7-859c-c7e65b0ded31">
          <note style="-uslm-lc:I76" topic="codification" id="ida31b76b8-0381-11e7-859c-c7e65b0ded31">
            <heading class="centered smallCaps">Codification</heading>
            <p style="-uslm-lc:I21" class="indent0">Section, acts <ref href="/us/act/1950-08-19/ch759">Aug. 19, 1950, ch. 759</ref>, <ref href="/us/stat/64/464">64 Stat. 464</ref>; <ref href="/us/act/1951-03-19/ch9">Mar. 19, 1951, ch. 9</ref>, <ref href="/us/stat/65/6">65 Stat. 6</ref>, relating to admission of alien spouses and minor children of members of armed forces, expired by its own terms on <date date="1952-03-19">Mar. 19, 1952</date>.</p>
          </note>
        </notes>
      </section>
    </subchapter>
    <subchapter style="-uslm-lc:I81" id="ida31b76b9-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/ch6/schIV">
      <num value="IV">SUBCHAPTER IV—</num>
      <heading>ALIEN VETERANS OF WORLD WAR I</heading>
      <section status="repealed" style="-uslm-lc:I80" id="ida31b76ba-0381-11e7-859c-c7e65b0ded31" identifier="/us/usc/t8/s241...246">
        <num value="241 to 246">§§?241 to 246.</num>
        <heading> Repealed. <ref href="/us/act/1952-06-27/ch477">June 27, 1952, ch. 477</ref>, title IV, §?403(a)(28), <ref href="/us/stat/66/279">66 Stat. 279</ref>, eff. <date date="1952-12-24">Dec. 24, 1952</date></heading>
        <notes type="uscNote" id="ida31b76bb-0381-11e7-859c-c7e65b0ded31">
          <note topic="removalDescription" id="ida31b76bc-0381-11e7-859c-c7e65b0ded31">
            <p style="-uslm-lc:I21" class="indent0">Sections, <ref href="/us/act/1926-05-26/ch398">act May 26, 1926, ch. 398</ref>, §§?1–6, <ref href="/us/stat/44/654">44 Stat. 654</ref>, 655, related to alien veterans of World War I.</p>
          </note>
        </notes>
      </section>
    </subchapter>
  </chapter>
</main>'

--select @xml

create table #temp
(
  xmlCol XML
)

--drop table #temp

insert into #temp
select @xml

--chapter 6

SELECT  
		--stuff (' '+n2.c.query('(heading)').value('.', 'varchar(max)'),1, 1, '') subchapter,  --*** put this back and it will show 132 rows

		n3.c.value('.','varchar(max)') SectionHeading 
		
FROM    #temp t

cross apply XmlCol.nodes('/main/chapter/subchapter') n2(c) 
--Cross   Apply XmlCol.nodes('/main/chapter/subchapter/section/heading') n3(c)   --*** put this back and it will show 132 rows

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of HainKurt
HainKurt
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Camillia

ASKER

Hmmm ok I'll see and post back
I tried this and I get all 33 rows but "subchapter" column is all repeated. I know it's because I'm using [1] but don't know how to fix it

SELECT  
		stuff (' '+n.c.query('(//subchapter/heading)').value('heading[1]', 'varchar(max)'),1, 1, '') subchapter,  --*** tried this as well
		n.c.value('.','varchar(max)') SectionHeading ,
		n.c.value('(//subchapter/heading/node())[1]','varchar(max)') subchapter1 --getting close?
FROM    #temp t
--cross apply XmlCol.nodes('/main/chapter/subchapter') n1(c) 
cross   Apply XmlCol.nodes('/main/chapter/subchapter/section/heading') n(c)  

Open in new window


I can do this but then I have to repeat the code ...header[1], header[2], etc

SELECT  n.c.query('.'),
	 	stuff (' '+n.c.query('(heading)').value('.', 'varchar(max)'),1, 1, '') subchapter,  --*** put this back and it will show 132 rows
		--n.c.value('.','varchar(max)') SectionHeading ,
		stuff (' '+n.c.query('(section/heading)').value('heading[1]', 'varchar(max)'),1, 1, '') heading1,  --heading[1]
		stuff (' '+n.c.query('(section/heading)').value('heading[2]', 'varchar(max)'),1, 1, '') heading2,
		stuff (' '+n.c.query('(section/heading)').value('heading[3]', 'varchar(max)'),1, 1, '') heading3,
		stuff (' '+n.c.query('(section/heading)').value('heading[4]', 'varchar(max)'),1, 1, '') heading4
FROM    #temp t
--cross apply XmlCol.nodes('/main/chapter/subchapter') n2(c) 
cross   Apply XmlCol.nodes('/main/chapter/subchapter') n(c) 

Open in new window

I'll go with my workaround. I'll post back if I have any other questions