A paedophile in the US has been sentenced to 260 years in jail for sexually abusing multiple children, including a newborn, and sharing the footage online.

Thomas Goodman, 45, fainted in the Rhode Island court on Friday as Judge John McConnell handed down a sentence 160 years longer than the prosecutor had asked for.

“The level of depravity is beyond comprehension,” Judge McConnell said, according to the Providence Journal .

The court heard Goodman spent six years sexually abusing two girls, starting from when they were six, and filming it.

“He scarred them permanently. He abused them for years since they were little girls,” Assistant US Attorney Lee Vilker said.

Goodman also filmed himself molesting a baby from when she was three weeks old until she was 18 months.

He shared some of the assault videos online.

Goodman was sentenced to 30 years each for eight counts of sexually exploiting children and 20 years for one count of possessing sadistic and masochistic child pornography.

The paedophile’s lawyer asked for a 22-year sentence, saying his client had been abused by a teacher when he was a child.

Goodman read a letter at his sentencing.

“I have no excuse for this,” he said.

The Warwick man was caught last May when his employer, submarine maker Electric Boat, confiscated his mobile phone for using it while at work.

The pornography was found on the iPhone.