Elon Musk is apologizing for a tweet last October that raised doubts near the attack on Nancy Pelosi's husband, Paul Pelosi. 

Musk published the apology after the court released bodycam video on Friday, showing Pelosi getting hit with a hammer by an intruder at his Pacific Heights Home.

MORE: DePape in bizarre shouted call to KTVU says he should have been 'more prepared'

Musk had linked an article to his tweet that made claims near Pelosi being drunk and in a fight with a male prostitute the night of the attack.

Neither of those things were true. 

And the video clearly shows the brutality of the attack. 

On Saturday, after receiving a question on Twitter about whether he must apologize to the Pelosis, Musk said: "I apologize."