Jimmy Carter led the United States in an era marked by Cold War tensions, turbulent oil markets, racial discrimination and questions about the US's global role. US President Joe Biden has declared a national day of mourning on January 9 for Carter's state funeral.