Which is better?

or

James K. Polk

US president

James K. Polk

Jimmy Carter

US president

Jimmy Carter