Avicii's funeral service has taken place in his home city of Stokholm.

The DJ has been laid to rest seven weeks after he was found dead in a hotel room in Oman.

Close family and friends attended the private service for the 28-year-old whose real name was Tim Bergling.

The intimate ceremony was held at Skogskyrkogården, a cemetery in southern Stockholm which is a UNESCO World Heritage Site, yesterday the Mirror reports .

His close friend Jesse Waits shared picture of the funeral order of service on Instagram along with a heart emoji.

Paying tribute to his life in music, the order of service featured musical notes along the text: "Tim Bergling 1989 - 2018."

Revealing the plans for the funeral to be held in private, Avicii's family said n a statement to Billboard : "There have been many inquiries regarding the funeral arrangements for Tim Bergling, known by music fans as Avicii.

"The Bergling family has now confirmed that the funeral will be private, in the presence of the people who were closest to Tim. They kindly ask media to respect this. There is no additional information forthcoming."

The Swedish DJ was found dead in a hotel room in Oman aged just 28

Avicii had been open about his health battles in the past, after retiring from live performing in 2016.

Speaking after his death, his family alluded to the fact he had taken his own life after struggling to find peace.

In a heartbreaking statement published on Aftonbladet , they wrote: "Our beloved Tim was a seeker, a fragile artistic soul searching for answers to existential questions.

"An over-achieving perfectionist who travelled and worked hard at a pace that led to extreme stress.

"When he stopped touring, he wanted to find a balance in life to be happy and be able to do what he loved most – music."

They went on: "He really struggled with thoughts about Meaning, Life, Happiness. He could not go on any longer. He wanted to find peace.

"Tim was not made for the business machine he found himself in; he was a sensitive guy who loved his fans but shunned the spotlight.

"Tim, you will forever be loved and sadly missed.

"The person you were and your music will keep your memory alive. We love you. Your family."

Avicii, known for his club anthems including Wake Me Up and Levels, had previously spoken of his fear of dying if he continued to fly around the world to perform night after night in the biggest clubs.

He had decided to quit touring two years ago after struggling with painful health conditions, including acute pancreatitis in part caused by his heavy drinking.

He'd also needed to have his gallbladder and appendix removed after experiencing agonising stomach pain and appendicitis, as at one point he was existing on booze, Red Bull , cigarettes and fast food.

In 2016 he told Billboard : "The scene was not for me. It was not the shows and not the music. It was always the other stuff surrounding it that never came naturally to me.

"I'm more of an introverted person in general. It was always very hard for me. I took on board too much negative energy, I think."