Which is better?

or

Andrew Jackson

US president

Andrew Jackson

James K. Polk

US president

James K. Polk