"The Ugly Duckling" () is a literary fairy tale by Hans Christian Andersen. Andersen lavished great care on this story, spending a year perfecting it. It was first published in 1844 with "The Angel", "The Sweethearts", and "The Nightingale" in "New Fairy Tales". The critics liked these stories. Andersen considered the story "a reflection of my own life." The moral of the tale: "it does not matter if you were born in a duck yard if you have lain in a swan's egg." The tale has been adapted to various media such as animated movies.