The U.S. president who served during both the Great Depression and World War II was Franklin D. Roosevelt (FDR).