28 USC 568 - Practice of law prohibited
A United States marshal or deputy marshal may not practice law in any court of the United States.