The baby was born at the Navy's Sanjivani Hospital (Photo: Twitter/Indian Navy)

An Indian Navy helicopter successfully rescued a pregnant woman from a flooded area near the Kochi airport earlier today morning. The woman was flown to the Navy's Sanjivani Hospital where she gave birth to a son.

Both the mother and the baby are doing fine, the Indian Navy said in a tweet.

The mission to rescue the woman required exceptional skills as the helicopter pilot had to ensure the chopper remained rock steady for the around 30 minutes that it took to airlift the woman.

The woman was already in an advanced stage of pregnancy when the rescue took place. A doctor was lowered from the helicopter before the woman was airlifted with the help of a harness.

The Navy identified the helicopter pilot as Commodore Vijay Verma of the 321 flight squadron.

A pregnant lady with water bag leaking has been airlifted and evacuated to Sanjivani. Doctor was lowered to assess the lady. Operation successful #OpMadad #KeralaFloodRelief #KeralaFloods2018 pic.twitter.com/bycGXEBV8q SpokespersonNavy (@indiannavy) August 17, 2018

Kerala is fighting massive state-wide flooding due to torrential, unending rain that has devastated the state.

More than 300 people have died since May due to extreme weather conditions; at least 164 have died just in the last few days.

The flooding has led a collapse in the public transport system in several areas. The Kochi airport had to be shut down for around two week; the airport is currently shut until August 26.

For the latest on the Kerala floods follow our live blog. Also see our complete coverage of the Kerala floods here.

WATCH | Indian Navy rescues pregnant woman in flood-hit Kerala