A 23-year-old woman injured in a terrorist attack Monday died of her wounds, hospital officials said Tuesday morning.

Shlomit Krigman sustained serious injuries during a stabbing attack in the West Bank settlement of Beit Horon.

She was evacuated to Hadassah Hospital in Mount Scopus in critical condition where her condition was defined as life-threatening.

Despite efforts to stabilize her, she deteriorated overnight and died in the early hours of Tuesday morning, a statement from the hospital said.

Another woman, 58, was moderately injured in the attack, which took place outside a small market inside the settlement.

Both attackers, one from nearby Beit Ur al-Tahta and one from the Ramallah area, were shot and killed by a security guard.

Krigman, who had previously served as a group leader for the Bnai Akiva Youth Group in Beit Horon, was spending time with her grandparents in the settlement when she was attacked, according to a message from the community sent out Tuesday morning.

She would have turned 24 next week.

Her funeral was scheduled for 1 p.m. at Jerusalem’s Har Hamenuchot Cemetery.

Medics wheel a wounded Israeli woman into the emergency room of the Shaare Zedek Medical Center on January 25, 2016. She was one of two Israeli women injured in a stabbing attack at the entrance to Beit Horon, in the West Bank. (Yonatan Sindel/Flash90)

Medics wheel a wounded Israeli woman into the emergency room of the Shaare Zedek Medical Center on January 25, 2016. She was one of two Israeli women injured in a stabbing attack at the entrance to Beit Horon, in the West Bank. (Yonatan Sindel/Flash90)

The Magen David Adom rescue service said Krigman was in critical condition when they arrived on the scene.

“When we arrived on the scene, they took us to a woman … who was unconscious and suffering from stab wounds to the upper body,” senior MDA medic Lior Levy said. “We put her in the intensive care ambulance and gave her lifesaving treatment on the way to the hospital. She was in very serious condition.”

The two terrorists who carried out the attack were shot and killed by a security guard after a short chase, police said.

Security footage showed the two terrorists, clad in black and with knives raised, attempting to enter the grocery store, but being blocked by a man, store owner Mordechai Shalem, who pushed them away with the shopping cart.

During a sweep of the surrounding area, police officers found two “suspicious objects,” which they feared could be pipe bombs, a police spokesperson said. A sapper was called to the scene to determine if the objects were indeed improvised explosive devices, and disarm them if need be, the official said.

Police officers and emergency service employees at the scene of a terror attack in which two people were wounded by two Palestinian stabbers, in the West Bank settlement of Beit Horon on Monday, January 25 2016 .(Israel Police)

Police officers and emergency service employees at the scene of a terror attack in which two people were wounded by two Palestinian stabbers, in the West Bank settlement of Beit Horon on Monday, January 25 2016 .(Israel Police)

Officials said later that the devices were improvised bombs, pointing to a well-planned attack.

The moderately injured woman, in her late 50s, was taken to Jerusalem’s Shaare Zedek Medical Center.

The two terrorists were named as Ibrahim Al’an, 23, from the West Bank Palestinian village of Beit Ur al-Tahta, and Hassin Abu Gush, 17, from the Qalandiya refugee camp near Jerusalem.

Police officers at the scene of a terror attack in which two people were wounded by two Palestinian stabbers, in the West Bank settlement of Beit Horon on Monday, January 25 2016 .(Israel Police)

Police officers at the scene of a terror attack in which two people were wounded by two Palestinian stabbers, in the West Bank settlement of Beit Horon on Monday, January 25 2016 .(Israel Police)

The settlement, home to some 300 families, is situated alongside Route 443, a major highway leading to Jerusalem, and has been mostly immune to other violence that has rocked parts of the West Bank in the last five months. A Border Police base is located next to the entrance of the settlement.

The terror attack was the third in just over a week to take place inside a settlement. On January 17, a terrorist infiltrated the settlement of Otniel in the southern West Bank, stabbing mother-of-six Dafna Meir to death.

A day later, a terrorist sneaked into the settlement of Tekoa, south of Jerusalem, and knifed a pregnant woman, Michal Froman, moderately wounding her.

Times of Israel staff contributed to this report.