CALGARY -- The Calgary Zoo says a hippopotamus has delivered stillborn twins -- an event which came as a surprise to zookeepers who didn't know the animal was pregnant.

The zoo says in a news release that Sparky, a 26-year-old river hippo, gave birth to the nearly full-term fetuses on Friday afternoon.

It says staff tried in vain to resuscitate them, but a necropsy revealed they both died just prior to delivery.

The zoo says the cause was likely twisted or entangled umbilical cords.

Zoo curator Colleen Baird says staff had noticed Sparky was putting on weight and acting differently, but didn't think she was pregnant because she has been on birth control for a number of years.

Baird also says her age, as well as the immaturity of the male hippo at the zoo, made the pregnancy unlikely.

"We were becoming suspicious that she was pregnant because of recent weight gain and some behavioural changes, but we thought it wasn't possible," Baird said in the news release. "It appears nature had other ideas."

Baird said twin births are rare in hippos and the likelihood of both surviving would have been very small.

The gestation period for hippos is eight months.

Sparky was born on May 30, 1987 in Toronto and arrived in Calgary on September 22, 1988.

The zoo's male hippo, Lobi, was born on October 31, 2006 at the Granby Zoo in Quebec.

Both hippos were forced out of their African Savannah exhibit in Calgary by severe flooding that hit southern Alberta in June.

Water levels rose high enough for the herbivores to swim over the top of their enclosure and roam freely about the African Savannah building.

Zookeepers feared they could swim out of the building onto zoo grounds and escape, but staff put up barriers to contain them.

Baird said Sparky would have been pregnant before the flood. She and Lobi were observed mating in mid-May, Baird said.

The zoo says this was the fourth pregnancy for Sparky although her previous calves were sired by former zoo resident hippo, Foggy.

Her first calf in 1991 was also stillborn.

Sparky had been on her most recent form of contraception since early 2013. Baird explained that the hippo is part of a species survival program where each animal's genetic information is stored in a database. Sparky's genes, Baird said, are represented enough in captivity that offspring from her aren't needed.

Baird said the flood was stressful for Sparky and zoo staff interpreted some of her behaviour changes as being a result of that stress. Despite the unusual circumstances in the early stages of her pregnancy, Baird said staff didn't believe it contributed to the calves' deaths, noting that Sparky carried them almost to full term.

Baird said that while the likelihood of both twins surviving would have been small, the zoo would have liked the chance to help Sparky try to raise them.

Right now, Baird said Sparky is tired and sticking close to the spot where she gave birth. Staff are waiting a while before putting her and Lobi back together.

"This is very, very sad for our team. Our priority now is making sure that Sparky is all right," she said.