Chilean writer Roberto Bolano has died of liver failure at the age of 50.
Bolano won a number of literary awards
The novelist and poet had written more than 12 novels, published poetry collections, but left unfinished a 1,000-page novel.
He won a number of literary awards in Spain, where he had settled after fleeing his native Chile, including the prestigious Romulo Gallegos prize for the novel Los Detectives Salvajes.
Bolano had planned to edit his novel, called 2666, about the unsolved murders of 300 women in Mexico over the past 10 years, but had been too ill.
He died on Tuesday at a Barcelona hospital while awaiting a liver transplant.
Bolano's first book was published in 1984 and was written while he worked in various jobs including night watchman and salesman.
During the 1970s, Bolano formed an avant-garde group called infrarealism with other writers and poets in Mexico.
He had lived in Mexico after leaving Chile when it fell under military dictatorship.
He returned in 1972 but left again the next year when General Augusto Pinochet came to power.
He eventually settled in Spain, where he lived with his wife and two children in the small town of Blanes, near Gerona.