LIMA (Reuters) - Maria Reiche, a German mathematician who dedicated half a century to protecting and studying massive ancient drawings in the Peruvian desert, died Monday from stomach cancer, aged 95, doctors said. Reiche became a legend in Peru for her almost single-handed battle to preserve the Nasca Lines, a set of mysterious animal figures scratched into the desert floor about 250 miles (400 km) south of Lima. For years before the lines became a big tourist attraction, Reiche guarded them so zealously that even after she was confined to a wheelchair she was known to chase trespassers off the sand dunes near the lines. "This is an inconsolable loss for the whole of Peru. But starting right now we have her inspiration and her legacy to guide us as we continue her work," said Luis Arista, director of the National Cultural Institute. Reiche, who became a Peruvian citizen in 1994, died in an Air Force hospital in Lima surrounded by family members. German and Peruvian flags flew at half-staff in Nasca and authorities declared a day of mourning in the southern town, where the white figures, measuring up to 1.2 miles (1.9 km) in length and etched in shallow ditches, can be fully appreciated only from the air. The scholar`s tireless work promoting the pre-Columbian drawings persuaded UNESCO to declare the 200 square mile (500 sq km) area a world heritage site in 1995. The figures of a hummingbird, monkey, man and spider and other geometric figures were created by members of the Nasca culture between 700 B.C. and 900 A.D. Their meaning is a mystery and has been the object of centuries of speculation. Reiche, who invested all of her money in a foundation to preserve the lines, earned international respect for her theories that the Nasca peoples used the drawings` alignment with the sun as a calendar. But her work was also costly to her health. Exposure in the bright sun eventually caused her to go blind and she suffered skin ailments as her white complexion became heavily-wrinkled and turned a black-berry colour. In the last few years, illnesses, including Parkinson`s Disease, kept her away from the lines and she has spent long periods in hospital for cancer treatment.