Grant appointed Amos T. Akerman as attorney general and Benjamin H. Bristow as America's first solicitor general the same week that Congress created the Department of Justice. The department's immediate function was to preserve civil rights. It set about fighting against domestic terrorist groups who had been using both violence and litigation to oppose the 13th, 14th, and 15th Amendments to the Constitution.
