Officials say the rescue operation was complicated by the overflow of groundwater around the narrow pipeline.

A man in northern Algeria has died after authorities spent nearly a week trying to rescue him from a 30-metre-deep well he had fallen into, civil defence officials said.

Ayache Mahdjoubi from the city of El Houamed in M’sila province – located about 250km south of the capital, Algiers – was pronounced dead on Sunday, ending a six-day ordeal.

It was unclear how the 26-year-old ended up in the well.

Officials in the rural district said efforts to rescue Mahdjoubi, which involved digging around the narrow 36-centimetre-wide pipeline, were complicated by the overflow of groundwater around the structure.

A number of Algerians however criticised the government over the pace with which authorities reacted to the incident, saying that Mahdjoubi could have been rescued if civil defence units were deployed in time.

In a video, widely shared on social media, Mahdjoubi’s brother lamented that authorities had not done enough to save him.

“He had been suffering for three days and would call me … I found no one but the people and their [modest] means. My question for you [the government] is where were you,” he asked.

Many others took to Twitter after the announcement of Mahdjoubi’s death, denouncing the government’s efforts to rescue the victim.

https://twitter.com/BilalBakhti/status/1076805975267557376?ref_src=twsrc%5Etfw

“Ayache carried out his duty toward the nation but it did not reciprocate,” one Twitter user said, blaming the government for Mahdjoubi’s death.

خلال عملية الإنقاذ.. نذكر بأن آلات الحفر ملك للشعب.. والحماية المدنية كذلك شعب ومواطنين بسطاء.. والتضامن شعبي.. الطعام من الشعب.. والاجمل ان الحفر كان بالفأس الذي هو ملك للشعب.. والاعتماد على ضوء الهواتف النقالة التي هي ايضا ملك للشعب#انقذوا_عياش pic.twitter.com/pvqVfiIT7c — 🇩🇿 زوبيدة (@B_Zoubida) December 23, 2018

Translation: During the rescue operation, remember that the equipment belonged to the people and that civil defence officers are also people and mere citizens, the solidarity is popular, the food is from the people.

هؤلاء هم اصحاب المتريال…. ماشي متريال الدولة كما قال الوالي ورئيس الحماية المدنية…متريال الشعب ❤❤❤ ربي يجعلها في ميزان حسناتهم#انقذوا_عياش pic.twitter.com/j07oraTYr1 — Alaeddine 🇩🇿✌️ (@eddinec90) December 22, 2018

Translation: These people brought the equipment. It’s not the property of the state as was said by the civil defence chief.

الحكومة قالت انها ليس لديها مشكل في استخراج الغاز الصخري..

وهي تقف عاجزة عن استخراج شاب منذ 6 أيام داخل بئر ارتوازي#عجب#تويت_فلسطينى#انقذوا_عياش pic.twitter.com/LQoQHKHoYl — ⁦🇵🇸⁩سراج الأقصى 🇩🇿 (@SirajeAlaqusa) December 23, 2018

Translation: The government said it wouldn’t have a problem extracting shale gas while it’s incapable of rescuing a young man stuck in a well for six days.