On New Year 's Eve in 1977 , President Jimmy Carter , visiting the shah in Tehran , toasted his great leadership , which he said had made Iran '' an island of stability in one of the more troubled areas in the world . ''