In 1979, President Jimmy Carter installed solar panels on the roof of the White House.
Amid an energy crisis, Carter hoped to reduce the country's dependence on foreign oil.
President Ronald Reagan removed the solar panels in 1986.
After President Jimmy Carter died on Sunday at the age of 100, world leaders, including former US presidents and the British royal family, paid tribute to his legacy of humanitarian work and public service.
Among the many causes Carter championed was renewable energy, which led him to install solar panels on the White House in 1979. His successor, President Ronald Reagan, did not share Carter's passion and had them removed during repairs to the roof.
The fate of Carter's White House solar panels exemplifies how presidents can use their power to undo the work of previous administrations.
Here's what happened.
In the 1970s, the US was in an energy crisis.
In 1973, Arab countries that were part of OPEC (Organization of the Petroleum Exporting Countries) imposed an oil embargo on the United States in retaliation for their military support of Israel during the Yom Kippur War. As a result, gas prices skyrocketed and shortages caused long lines at gas stations. While the embargo ended in 1974, it exposed the vulnerabilities of US reliance on foreign oil.
President Jimmy Carter pushed for renewable energy sources to reduce pollution and America's dependence on fossil fuels.
In response to the 1973 energy crisis, Carter created the Department of Energy in 1977. He implemented tax credits for homeowners who installed solar panels and passed the National Energy Act into law in 1978, moving to reduce oil imports and promote energy conservation.
As part of his efforts, he installed 32 solar panels on the roof of the West Wing in 1979.
In his speech, Carter emphasized the importance of "harnessing the power of the sun to enrich our lives as we move away from our crippling dependence on foreign oil."
At the dedication ceremony, Carter expressed his administration's goal of the US running on 20% renewable energy by 2000.
"Today, in directly harnessing the power of the sun, we're taking the energy that God gave us, the most renewable energy that we will ever see, and using it to replace our dwindling supplies of fossil fuels," Carter said in his speech.
In 1980, Carter lost the general election to Ronald Reagan, who didn't share his vision for renewable energy.
Reagan moved to fulfill his campaign promise to abolish the Department of Energy in 1981, but he walked back his effort in 1985 due to insufficient support in Congress. He allowed Carter's solar-panel tax credits to expire in 1985, instead championing nuclear-power initiatives.
He also believed in allowing free-market capitalism to dictate the production and use of fossil fuels rather than government regulations, a policy that became known as "Reaganomics."
In 1986, Reagan had the solar panels removed during repairs to the roof of the White House.
Carter's solar panels were removed during repairs to the White House roof and were not reinstalled.
"Putting them back up would be very unwise, based on cost," Reagan's White House press secretary Dale Petroskey told the Associated Press at the time, according to Yale Climate Connections.
The White House remained without solar panels until 2002, when the National Park Service installed three solar energy systems that provided hot water for grounds maintenance staff and the White House pool, according to the White House Historical Association.
Carter continued advocating for renewable energy after his time in the White House.
In 2017, Carter leased 10 acres of his farmland in Plains, Georgia, to the solar energy company SolAmerica Energy, The New York Times reported. The company built 3,852 solar panels, enough to provide more than half of the power for the 683-person town.
"It's very special to me because I was so disappointed when the panels came off of the White House, and now to see them in Plains is just terrific," former first lady Rosalynn Carter told The New York Times.