DePape is convicted of breaking into Nancy Pelosi's San Francisco home in October 2022 and attacking her husband with a hammer.
RELATED: Judge grants motion to reopen sentencing in case of Paul Pelosi attacker
On May 17, Judge Jacqueline Scott Corley failed to allow DePape to address the court before she sentenced him to 30 years for assault and 20 years for attempted kidnapping, which would run concurrently.
The sentencing was then reopened because of the court error.
On Tuesday, Judge Corley apologized to DePape for having to be in court saying, "It's completely on me," and "I'm truly sorry for my mistake."
She then gave DePape the opportunity to speak.
"I will carefully consider anything you say this morning in determining a sentence that is appropriate," Judge Corley said.
VIDEO: Man sentenced to 30 years for attacking Nancy Pelosi's husband with hammer in San Francisco
Man sentenced to 30 years for attacking Nancy Pelosi's husband in SF
DePape apologized, specifically to Paul Pelosi.
"I'm sorry for what I did," he said. "Especially what I did to Paul Pelosi. I should have just left the house when I realized Nancy Pelosi wasn't home. I feel horrible about what I did to Paul."
Judge Corley ended up giving DePape the same sentence as before. She said she took into account DePape had no criminal or violent history but reminded him of the severity of his crimes and how this sentence needs to set a precedent.
DePape still faces state charges relating to the attack, and opening statements in that trial begin Wednesday.