PewDiePie had the year from hell back in 2017 when he was branded a Nazi and an anti-semite for posting sickening videos on his YouTube channel.

The Swedish social media star - who is known for posting content about video games - confirmed he'd married his fiancee Marzia Bisognin this week.

The happy news appears to have cemented his place back in the spotlight two years after the scandal threatened to end his career for good.

Pewdeepie, 29, whose real name is Felix Kjellberg, had been on the verge of a total career meltdown as subscribers deserted him and he was dropped from a number of lucrative endorsement deals.

It came after public outrage over one of his videos, in which he had paid two people in India to hold up a sign that read "death to all Jews."

(Image: Instagram)

Google responded by removing advertising from the clip, he was later dropped from a massive deal with Disney and YouTube bosses scrapped a planned series with him.

Reports at the time suggested he'd also uploaded others videos containing anti-semitic jokes and remarks.

In a public apology, he defended the video, saying: "A lot of people loved the video and a lot of people didn't. It's almost like two generations of people arguing whether this is ok or not.

"But regardless of that I just wanted to reiterate that my intention was to show just how stupid the website is and how far you can push it by paying $5.

"I'm sorry for the words that I used as I know they offended people and I admit that the joke itself went too far.

"I do strongly believe that you can joke about anything but I also believe that there's a right way and not the best way to joke about things."

He said many of the jokes had been taken out of context and he had been unfairly labelled a "Nazi".

(Image: WireImage)

The controversy continued as later that year, he used a racial slur in an online broadcast, calling a fellow gamer a "n****r" during a live stream whilst playing a shoot 'em up video game.

In the stream, which was shared by another YouTube user, the Internet sensation was heard using the slur in frustration before seemingly issuing a half-hearted apology.

"What a f***ing n****r," he barked, before adding: "Jeez, oh my God! What the f**k? Sorry, but what the f**k? What a f**king a**hole. I don't mean that in a bad way."

After making his name in 2010 with funny videos of himself playing video games, PewDiePie had close to 14.7 billion video views on his main YouTube channel at the time of the Nazi scandal.

(Image: Instagram)

He was also named the highest paid YouTube star of 2016 and 2016 by Forbes magazine, while Time named him one of The World's 100 Most Influential people in 2016.

However, it looks like the controversy failed to put a sizeable dent in his business as his YouTube views have soared to around 22.9 billion in following two years.

The majority of his fans have stood by him despite his antics and Pewdeepie not only survived the scandal but continues to thrive.

His main YouTube channel now has a massive 99 million subscribers.

Do you have a story to sell? Get in touch with us at webcelebs@trinitymirror.com or call us direct 0207 29 33033