Johnny Depp and Bono were among stars who gave readings at Shane McGowan's emotional funeral mass in Dublin.
The songwriter, who found fame as the lead singer of London-Irish punk/folk band The Pogues, died at the age of 65 last week.
Mourners gathered in Dublin ahead of the funeral to witness the procession pass through the city on Friday afternoon.
MacGowan’s coffin was brought to the front of Saint Mary of the Rosary Church in Nenagh, Co Tipperary, draped in an Irish tricolour flag and placed close to a large black and white photograph of the Pogues singer.
A recording of U2 frontman Bono delivering a reading was played and singer Nick Cave performed A Rainy Night In Soho at the service.
The late singer's family also danced to a rendition of Fairytale of New York, the Pogues' most famous song.
McGowan's widow Victoria Mary Clarke presented symbols of her late husband, including a copy of a Johnny Depp album who she called a “massive fan” of The Pogues frontman.
She told the congregation that McGowan "prayed every single day and was grateful for the gift of life".
"His devotion was beautiful... and he wouldn't see the bad in anybody.
"Towards the end he just told everybody how much he loved them."
Depp waved to the crowds ahead of taking part in the funeral. The 60-year-old Pirates Of The Caribbean series star previously attended MacGowan’s wedding to Victoria Mary Clarke.
The Hollywood actor and Hothouse Flowers frontman Liam O’Maonlai read the prayers of the faithful.
Former members of The Pogues - Jem Finer, Terry Woods, Spider Stacey and James Fearnley - also performed a version of The Parting Glass, a traditional Scottish folk song that is often sung in Ireland.
A group of men, including Depp, then helped to carry McGowan's coffin out of the service, to a swell of applause.
Earlier, mourners applauded as the funeral procession for MacGowan passed McMahon Bridge in Dublin.
The sounds of Fairytale of New York and A Rainy Night in Soho could be heard being played from speakers.
Many were singing Dirty Old Town as they followed his funeral procession through the streets of the city.
The procession travelled by horse-drawn carriage from South Lotts Road in Dublin’s southside, down Pearse Street and onto Westland Row.
Mary Clarke thanked local police for helping to manage the crowd, saying: "Thank you so much Garda for your help today and for the escort for Shane MacGowan."
The coffin was transferred from a horse-drawn carriage to a car ahead of the service being held in Nenagh.
Among those who turned out to pay their respects is Aidan Grimes, 60, who described MacGowan as an icon.
He said: “I remember the first time I saw The Pogues in the Hammersmith Odeon in 1985. It is imprinted in my mind forever, just the madness and mayhem, the raucous nature of his singing and the music they were playing.
“Through the years he evolved into a great poet and he will be sadly missed.
“I met him in Dublin about 15 years ago and he was a very charming, nice, friendly man. He talked about music and his time in London.
“I thought it was important to pay my respects. He was an icon of Dublin, just like Brendan Behan, Luke Kelly. His music will be listened to in 100 years’ time.”
Kevin Sexton from Co Fermanagh said MacGowan opened doors for Irish people living in England.
“He made Irish people proud to be Irish at a time in London when it was a very difficult time to be Irish.
“The Troubles were in full tilt. A lot of terrible things happened.
“Shane MacGowan opened doors. He introduced Irish culture and his own unique writing ability and voice and style that opened up a mix of Irish music plus rock plus punk, his whole unique persona transformed into song that enlightened the world.”
Darragh McColgan from Dublin said MacGowan was a genius.
He added: “To me he was all about culture, the energy of it, it was representative to me of what being Irish is.
“It will be a day we knew was coming but it won’t be easy to deal with because of what a big impact he was.”
MacGowan’s public funeral mass, which will be livestreamed, will take place at St Mary’s of the Rosary Church in Nenagh, Co Tipperary, at 3.30pm.
Irish President Michael D Higgins is expected to attend alongside well-known faces from the world of music.
Father Pat Gilbert told RTE that the funeral would celebrate the spiritual side of MacGowan.
He said: “It’s a side of him that’s not known but it’s a side of him we must celebrate. It’s a side that was important to him in the context of his living of his life.
“We will have the rite of reception, we’ll have mass and we’ll have the rite of final accommodation interspersed with pieces of his music which will be performed by some of his friends.
“I think that’s the right thing to do, that’s the way to celebrate the man, the faith, the music and the lyric.
“It’s the way to celebrate and remember the husband, the brother, the son and the brother-in-law.”
Following the funeral mass, the public will also have the opportunity to pay their respects as the funeral cortege moves through Nenagh town centre from Church Road to Market Cross.
A private cremation will follow.
MacGowan was born to Irish parents in 1957 in Pembury, Kent, and he soon moved to rural Tipperary where he was immersed in a culture of ceili bands and showbands.
The Pogues frontman, best known for the hit festive song Fairytale Of New York, died “peacefully” at 3am on November 30 with his wife and family by his side, a statement from his relatives said.
He was due to celebrate his 66th birthday on Christmas Day.