Colombian novelist Gabriel Garcia Marquez has died, aged 87.

The Nobel literature laureate had recently been treated for a lung and urinary tract infection in a Mexico City hospital.

He had been earlier reported to be in "very fragile" condition and at risk of complications while recovering at his Mexico City home.

The author's last public outing was on 6 March, when he came out of his house to greet journalists who visited him for his birthday.

Garcia Marquez smiled, accepted gifts and posed for photographs, but he did not speak to reporters.

His brother Jaime said in July 2012 that his famous sibling was suffering from dementia.

The 1982 Nobel laureate is a pioneer of so-called magical realism, writing epic stories of love, family and dictatorship in Latin America.

One Hundred Years of Solitude has sold more than 30 million copies and has been translated into 35 languages since it was first published in 1967.

His other works include Love in the Time of Cholera and Chronicle of a Death Foretold.

His last published novel is Memories of My Melancholy Whores in 2004.

The Nobel Committee awarded him the 1982 prize "for his novels and short stories, in which the fantastic and the realistic are combined in a richly composed world of imagination, reflecting a continent's life and conflicts."