Actor Leonardo DiCaprio says history will judge President Trump harshly for his inaction on climate change.

Speaking Tuesday at a Yale University climate conference, DiCaprio lashed out at Trump for pulling the U.S. out of the Paris Climate Accord.

"We are going to look back at this point in history, and frankly this administration, and certain people are going to be vilified for not taking action,” he said, according to the Hartford Courant.

"We should not have people in office who do not believe in facts and truths and modern science that are able to manipulate and risk the entire future of this entire generation," he told former Secretary of State John Kerry John Forbes KerryThe Memo: Warning signs flash for Trump on debates Divided country, divided church TV ads favored Biden 2-1 in past month MORE.

ADVERTISEMENT

DiCaprio revealed details of his December meeting with Trump, in which he urged the then-president-elect to take action on climate change.

"We presented him with a comprehensive plan to tackle climate change, while also simultaneously harnessing the economic potential of green jobs," DiCaprio said.

"We talked about how the United States has the potential to lead the world in clean energy manufacturing and research and development."

Trump in June announced he was pulling the U.S. out of the Paris climate deal, an international agreement between nearly 200 countries negotiated by President Obama.

Nicaragua’s government announced this week that the country is preparing to join the Paris deal, leaving the U.S. and Syria the only two countries not committed.

DiCaprio and Kerry discussed the role of climate change in the series of destructive hurricanes that have torn across the Gulf of Mexico over the past few weeks.

“It’s making them more extreme and more destructive,” DiCaprio said of the storms.

Environmental Protection Agency Administrator Scott Pruitt Edward (Scott) Scott PruittJuan Williams: Swamp creature at the White House Science protections must be enforceable Conspicuous by their absence from the Republican Convention MORE said earlier this month that it was “insensitive” to link climate change to the damaging hurricanes so soon after they hit.

“To have any kind of focus on the cause and effect of the storm versus helping people, or actually facing the effect of the storm, is misplaced,” Pruitt told CNN. "To use time and effort to address it at this point is very, very insensitive to this people in Florida.”

DiCaprio recently produced “Before the Flood,” a National Geographic-distributed documentary that explored the global impact of climate change. The actor also raised the topic in his acceptance speech at the 2016 Academy Awards, where he won Best Actor for his role in “The Revenant.”