On July 25, 1866, he was made general of the United States army; the rank having been created for him, he was the first to hold it.