Which is better?

or

Andrew Johnson

US president

Andrew Johnson

James K. Polk

US president

James K. Polk