Ans: “There he tasted the sweet joys of liberty”- this quoted line has been taken from the story Jimmy Valentine written by O Henry.
Here ‘he’ was Jimmy Valentine who was released from the jail after being arrested for the Springfield case.
After his release from the jail Jimmy headed straight to a restaurant disregarding the beauty of nature. There he tasted the first sweet joys of liberty in the form of a broiled chicken and a bottle of white wine. Afterthat he started smoking a cigar of superior quality.
Jimmy had to serve nearly ten months of a four year sentence. She had to eat whatever he was given as a prisoner. Thus eating something special after his release appeared sweet to him.