The New York City nanny responsible for the killing of two children admitted to hurting the kids and has been formally charged.

Yoselyn Ortega, the Dominican Republic nanny for the Krim family, was charged on Saturday with the murder of Marina and Kevin Krim's 2-year-old son Leo and 6-year-old daughter Lucia.

A candlelit vigil was held on Sunday for the two children who were found stabbed to death in a bath.

After the 50-year-old nanny recovered enough from her attempted suicide, police charged Ortega with two counts of first and second degree murder, according to the Huffington Post.

While Ortega admitted to hurting the children, the nanny says that she didn't kill them.

According to Fox News, daughter Lucia tried to defend herself from Ortega's attack while Leo was asleep.

During questioning Ortega told police that she was angered the Krim family wanted her to do housework.

The Daily Mail reported the New York City police officials comments on Ortega's questioning saying, "She said something like, 'I'm paid to watch the children, not clean up and do housework.'"

Authorities added: "There was friction between her and the family."

Ortega had financial troubles that led to Mr. and Mrs. Krim offering extra money in exchange to do housework. The nanny did not take the offer kindly as the family planned on giving Ortega an additional five hours a week of work which got in the way of her medical appointments.

The nanny had additional worries as her job performance fell and Marina and Kevin Krim told Ortega that she might be replaced if she didn't improve her work.

Ortega remains in the hospital where she awoke on Sunday after falling into a coma from slitting her wrists and throat. Yesterday she was arraigned from her New York hospital bed, according to CNN.

On Oct. 25, Marina Krim returned to her Upper West Side apartment in New York in the evening to find both of her children dead in the bathtub at the hands of her nanny bleeding nearby.

Police say they believe Ortega started cutting herself when Krim returned home.

"We believe now that the nanny began to stab herself as the woman entered the room," said Police Commissioner Ray Kelly on Friday. "We initially thought that had already been done but now information is coming out that she did it as the mother entered the bathroom."

Marina arrived at her Manhattan home with her three-year-old daughter Nessie who was with her at the time of the attack, according to the New York Post. The mom of three returned to her home after Ortega and the two children were missing from meeting Marina and Nessie at a nearby pool.

Kevin Krim, a CNBC executive, was returning from a business trip in San Francisco at the time of the killings.