Anthony Anderson says a trash-talking former President Obama raked it in recently after winning a golf bet against him, Chris Paul and Michael Phelps.

"President Obama talked trash all day. Five and a half hours, nothing but trash talk," Anderson told Jimmy Fallon during a Thursday appearance on NBC's "The Tonight Show."

The "Black-ish" star revealed he recently hit the links with Obama, Houston Rockets player Paul and Olympian Phelps.

"He won," Anderson, 46, said of the ex-commander in chief. Praising Obama's golf game, the actor said: "He's a great golfer. Doesn't hit the ball long off the tee, but he's straight as an arrow."

ADVERTISEMENT

"Played with one ball the entire time," Anderson added. "Didn't lose a ball."

Former first lady Michelle Obama Michelle LeVaughn Robinson ObamaTo honor Justice Ginsburg's legacy, Biden should consider Michelle Obama National Urban League, BET launch National Black Voter Day The Hill's Morning Report - Sponsored by The Air Line Pilots Association - White House moves closer to Pelosi on virus relief bill MORE has previously spoken of her husband's penchant for some putting-time trash talk. During an appearance on "Ellen" last year, she advised NBA star Stephen Curry that he shouldn't stay silent on the golf course with her spouse.

"You should trash talk back, Steph," she said. "Talk about his ears. If you're putting, you wanna say, 'The shadow from your ears is really messing up my putt.' Try that one."

Anderson claimed that after winning the game, Obama, 56, made sure his golf buddies coughed up some cold, hard cash.

"He took $700 from Phelps, he took $600 from Chris Paul, he took $300 from me," Anderson said to laughs. "I was like, man, is this even right? I was like, you're the president, here. Can you take money from civilians?"

Anderson said Obama replied: "Anthony, I'm a civilian now. So yes, I can take it."

"He talked trash all day," said Anderson. "And took all of our money."