Lacey Spears, 27, chronicled her son's illness on a personal blog called Garnett's Journey.
"Her actions that day, they were inhuman. They despicable. They were evil," said Doreen Lloyd, Westchester County's assistant district attorney.
Spears' condition, Munchausen by proxy syndrome, caused her to crave the attention that being a mother with a sick child gave her, said acting state Supreme Court Justice Robert Neary.
Spears was sentenced to 20 years in prison for committing second-degree murder.
Also Read
Spears had moved to Chestnut Ridge, about 35 miles northwest of New York City, 14 months before the boy's death on January 23, 2014, living on the secluded Fellowship Community's grounds where volunteers live with and care for senior citizens in need.
Lloyd described the child as a normal, healthy child whose illnesses were induced by his mother, who eventually killed him by putting a lethal amount of salt into the hospitalised boy's feeding tube, all the while blogging and posting pictures to Facebook, USA Today reported.