Which is better?

or

James A. Garfield

US president

James A. Garfield

Ulysses S. Grant

US president

Ulysses S. Grant