In 1843 he graduated, ranking twenty-first in a class of thirty-nine.