<prompt> Translate the following text to EnglishSheria ya H-2A ilitolewa ili kuhakikisha kwamba wafanyakazi wa kigeni hawawezi kuharibu mshahara na hali ya kazi ya wafanyakazi wa Marekani, na Congress ilitoa huduma za kisheria ili kuhakikisha haki za wafanyakazi wa kilimo wa H-2 chini ya mikataba yao ya ajira.  <response>: The protections of the H-2A statute were adopted, inter alia, to ensure that the employment of foreign workers would not undermine the wages and working conditions of U.S. workers, and Congress provided legal services representation to secure the rights of H-2 agricultural workers under their employment contracts. 