Who was the Only president graduate from the naval academy?

James Earl (Jimmy) Carter, 39th President, graduated with the Class of 1947 from the US Naval Academy.