An off-color remark about President Barack Obama on "Morning Joe" has led to the suspension of politician analyst Mark Halperin.

"I thought he was a dick yesterday," Halperin said Thursday during a discussion about Obama's news conference on Wednesday.

Halperin prefaced his remark by asking, "Are we on the seven-second delay?" It was a reference to a brief delay in a TV show transmission that allows a producer to silence an offending remark. MSNBC said the show was on a delay, but a producer pushed a wrong button and the remark went over the air.

MSNBC said Halperin, who is an editor at Time magazine and an NBC News contributor, is suspended indefinitely. Both the network and Halperin apologized to the president, and Halperin said in a statement he believed the network's actions against him were appropriate.