Several hundred well-wishers lined the street outside Everton FC's stadium to say farewell to 23-month old Alfie Evans.
Members of the public and "Alfie's Army" broke into applause as the funeral cortege passed the Goodison Park ground en route to a private burial of the youngster in Liverpool.
Last month, doctors at Alder Hey Children's Hospital stopped providing life-support treatment to Alfie after his parents, Tom Evans and Kate James, lost two rounds of fights in the High Court, Court of Appeal, Supreme Court and European Court of Human Rights.
Mr Evans and Ms James had hoped to take Alfie, who had a degenerative brain disease, to a hospital in Rome.
On Monday, an invitation-only funeral service was held in the city before people gathered to pay their respects publicly in Walton Lane.
As the cortege passed, people placed flowers on the lead two hearses which carried floral tributes to Alfie spelling out the words Warrior, Our Hero, Son, Nephew, Grandson and Blue.
His coffin sported images of toy soldiers and the Everton club motif.
Earlier, members of Alfie's Army tied purple and blue ballons to the Dixie Dean statue outside the stadium and a bow in the same colours to the gates behind.
A number of cards were also left at the foot of the statue with one reading: "Alfie. Sleep well wee man. Fly high with the angels. Love Emma Boyne."
Another bore a picture of Alfie with the words 'twinkle twinkle Little Star".
Mr Evans is a fervent supporter of the Premier League club and had spoken of his hopes to take his son to watch the Blues in action.
Merseyside Police had a small, low-key presence in Walton Lane as the cortege passed peacefully in glorious sunshine.
During the protracted legal battle, Alder Hey Children's Hospital said staff had experienced "unprecedented personal abuse" as it found itself at the centre of a "social media storm" as a result of the case.
Protesters attempted to storm the hospital on one occasion and blocked the road outside during demonstrations against the withdrawal of his life-support treatment.
Ahead of the funeral service, Alfie's uncle Daniel Evans posted a message on the Alfie's Army Facebook page in which he thanked everyone for their support on behalf of the family and said only family and close friends would attend the ceremony.