A doctor in Chennai, India, used Viagra to save the life of a 4-month-old baby when her blood pressure spiked during an operation to correct a rare congenital heart defect, the Times of India, reported.

The baby, whose name is Tanisha, was born to Subrata and Dipa Saha of Kolkata, India, in December. Cardiac surgeon K.R. Balakrishnan of Malar Hospital said Tanisha’s heart was on the wrong side of her body and had hole in it. She also had an underdeveloped right lung, which needed repairing.

Balakrishnan gave Tanisha Viagra during the risky, four-hour operation when her blood pressure rose and her blood began flowing in the wrong direction to the heart, he said.

The impotence drug Viagra was initially developed to treat high blood pressure and certain symptoms of heart disease. However, scientists discovered during trials that it also could be used to treat sexual problems in men.

Click here to read more on this story from the Times of India.