Media playback is unsupported on your device Media caption Kew Gardens will reopen the world's largest Victorian glasshouse

London's Kew Gardens is to reopen its Temperate House - the world's largest Victorian glasshouse - after a five-year restoration.

For the first time in its history, the Grade I-listed structure was "stripped back to bare metal" and modernised.

More than 5,280 litres (1,160 gallons) of paint was used, enough to cover four football pitches, and 15,000 panes of glass replaced.

The house will open to the public on Saturday, 5 May.

The vast greenhouse is now home to a geographically arranged collection of 10,000 plants from of temperate climates around the world - areas sometimes described as "the Goldilocks zone" of the planet, where plants are safe from frost.

These include some of the rarest and most threatened specimens, for which the botanic garden is a final refuge.

Among the 1,500 different species of temperate plants is the extremely rare South African cycad Encephalartos woodii, a plant that has disappeared from the wild and is now found exclusively in botanic gardens and private collections.

Media playback is unsupported on your device Media caption Sir David Attenborough tells the Today Programme about his affinity with Kew Gardens

This tree has been dubbed "the loneliest plant in the world" because only male plants remain - each a clone of the specimen at Kew, which was collected in the middle of the 19th Century. Some plants contain both male and female parts, but this species requires a female to produce seeds.

Lead horticulturalist Scott Taylor, who is overseeing the Temperate House collection, explained that plant-hunters are still searching for a female cycad so Encephalartos woodii can be bred. And he stressed the importance of having an insurance population of every one of the world's most endangered plants.

"We have a really important job to keep all of these things going," Mr Taylor said. "For some plants that are down to a few individuals in the wild - a wildfire, an earthquake, and they're gone."

Image copyright Kew Gardens Image caption The restoration of this fragile building required 180km of scaffolding - equivalent to length of M25

The Temperate House in numbers

The restoration cost £41m

69,000 individual elements have been removed from building and cleaned, repaired or replaced

15,000 panes of glass have been replaced

116 urns, which had to be carefully lifted by crane off the building, have been restored

180km (110 miles) of scaffolding was used, equivalent to the length of the M25

5,280 litres of paint was used, enough to cover four football pitches;

400 staff members and contractors worked in phases on the project, taking 1,731 days to complete it

Source: Kew Gardens

In an interview with the BBC, the naturalist and broadcaster Sir David Attenborough said he had first visited Kew Gardens "back when it cost a penny".

"When I had an office job at the BBC, when I used to be stuck in the office and get really depressed, I would come here at the weekend and take a deep breath, because there was a smell of the tropics.

"Plant species can go extinct just like animal species can go extinct," Sir David added. "[So] this is a very important institution."

Follow Victoria on Twitter