A 20-day-old baby was saved from a deadly brain aneurysm when her doctor closed it with superglue, Mail Online reported.

Ashlyn Julian was a quiet baby at first, a few weeks after birth she began crying loudly and throwing up.

"At that point, you know something's not right," mother Gina Julian said.

The baby was brought to Children's Mercy Hospital in Kansas City, Kansas where tests were performed, including an ultrasound.

"[That's] as far as we made it because they saw something in her head at that point in time, so they decided to transfer her to a hospital that was better equipped for what was going on," Julian said, according to CNN.

It turned out that baby Ashlyn had an aneurysm in her brain about the size of an almond, a condition almost never seen in babies, the Mail Online reported.

"We did not know what the right answer was. This was not a textbook case," said endovascular neurosurgeon, Dr. Koji Ebersole.

The doctor claimed there was very little chance of the aneurysm closing on its own, and most babies would not survive the condition without medical intervention. Since the condition is seen in infants so rarely, doctor's didn't have the proper knowledge or equipment to close up the aneurysm in the tiny baby.

Dr. Ebersole used angiogram imaging to look at the baby's brain and decide a course of action, the decision she made was to close it with superglue.

The Dr. inserted a micro-catheter, about the width of a hair, in through the baby's neck and administered the glue.

The procedure turned out to be wildly successful; baby Ashlyn was able to have her breathing tube removed the day after the procedure.

"Oh, we're thrilled! The breathing tube was taken out the very next day. I did not know that she'd be ready that fast, and I think she's been making steady strides since, so we're all very happy." said Dr. Ebersole.

WATCH: