Judge Newton, sitting at Chelmsford County Court, concluded that the child, known as P, would be placed with an adoptive family.
The child was removed from her mother - who is an Italian national and was suffering metal health issues at the time of the birth - by Essex County Council 15 months ago because she was "too unwell to care for her child".
Judge Newton said: "If in later life P reads this judgment, as she may well do, I hope that she will appreciate that her mother in particular loved her and wished for her to return to live with her and to bring her up.
"It is not her fault, nor P's that that was not possible and that a predictable home could only be secured by way of adoption. P should know that the mother very much wished to parent her and bring her up and I hope that that is some small comfort both to the mother and also to P."
More top news
A top Fifa official who assessed rival bids to stage the 2018 and 2022 World Cups revealed England’s was by far the strongest contender.
A hacker group who claimed to be behind a cyber attack on Sony Pictures have posted a message online apparently mocking the FBI.
The returns of Benedict Cumberbatch's detective and the X Factor judge were among 2014's most tweeted TV moments in a billion conversations.