<prompt> Translate the following text to SwahiliFrom 1977-8, he worked for the Department of Justice from 1978 through 1981, first as an Attorney Advisor in the Office of Legal Counsel then as Counselor to the Associate Attorney General.  <response>: Alifanya kazi katika Idara ya Sheria ya Marekani kuanzia 1978 hadi 1981, kwanza kama mshauri wa sheria katika Ofisi ya Mshauri wa Sheria na kisha kama mshauri wa Mwanasheria Mkuu. 