<prompt> Translate the following text to SwahiliOriginally, these provisos permitted the use of LSC funds for legal assistance to an alien if the alien was a resident of the United States and fell within one of the permissible alien categories, all of which required that an alien was in lawful status.  <response>: Mwanzoni, masharti haya yaliruhusu matumizi ya fedha za LSC kwa msaada wa kisheria kwa mgeni ikiwa mgeni alikuwa mkazi wa Marekani na alianguka ndani ya moja ya makundi ya mgeni yanayoruhusiwa, ambayo yote yalihitaji kuwa mgeni alikuwa katika hali ya kisheria. 