After the University of Mississippi admitted James Meredith in 1962, the federal government sent marshals to

keep additional African Americans from attending college there.
protect white students caught in the middle of the controversy.
keep him from attending class until the Supreme Court could rule.
protect him from white students who were rioting in response.