Harry Styles took over James Corden's "Late Late Show" monologue Tuesday night and tried his hand at what all the cool late-night hosts are doing: making fun of President Donald Trump.

“Of course, the big story of tonight is that Donald Trump shared secret information with the Russians last week,” Styles said. “The good news for Trump is that he has been named employee of the month by Russia."

He even squeezed in a Hillary Clinton joke, too.

"Here’s another story we’ve all been talking about around the office: Hillary Clinton is forming a group called Onward Together, a political organization that is anti-Trump," Styles said. "Experts are calling it ‘bold,’ 'ambitious' and 'six months too late.'"

The CBS late-night show audience actually thought Styles’ jokes were hilarious, and he became more confident as time went on, eventually channeling his best dad jokes to take cracks at "Pirates of the Caribbean: Dead Men Tell No Tales" and star Johnny Depp.

“Finally, tonight, this is a big story in the entertainment world: Hackers have stolen a copy of 'Pirates of the Caribbean' and they are holding it for ransom. They could release this movie illegally. I guess you would say it’s a pirated video," Styles joked. "They’re holding 'Pirates of the Caribbean' for ransom – sounds to me like they’re charging them an arm and a peg. If Disney pays this ransom, they could go into Johnny Debt. If people see this movie early, it would be a movie about a pirate ship with no sales. Kids can’t see the movie anyway because it’s rater argh."

Styles then continued his duties as a late-night host by delivering Corden’s popular “Side Effects May Include” segment and introducing guests Ice Cube and Jason Derulo, plus Corden, who dressed up as Styles.

The former One Direction member wrapped up his second night of his "Late Late Show" residency with a performance of his song “Carolina." Watch the monologue above and additional Styles segments below.

View Photos 37 of Donald Trump's Loudest Critics & Supporters

Hot Videos