A "fierce" new species of little dinosaurs with bat-like wings has been discovered in China.

Palaeontologists have uncovered the fossilised remains of a 163-million-year-old creature that would have been around the size of a magpie, weighing just 300g.

Named Ambopteryx longibrachium, it had bat-like membrane wings which were previously unknown among predatory theropod dinosaurs. This suggests that when dinosaurs were beginning to fly they were experimenting with a range of wing structures.

The find "completely changes our idea of dinosaur evolution", lead researcher Min Wang from the Chinese Academy of Sciences told The Independent.

"We imagine dinosaurs have feathered wings but this latest discovery changes how we understand the origins of flight," he said.

Pictured is a life reconstruction (left) and 3-D reconstruction (right) of Ambopteryx longibrachium ( Chung-Tat Cheung/ Min Wang ) (Chung-Tat Cheung/ Min Wang)

The feathered dinosaur lived during the the Upper Jurassic period in what is now Liaoning province in north eastern China.

It would have spent most of its time in the trees, or flying between them, according to the paper published in the journal Nature.

It lived around the same time and place as dinosaurs with feathered wings.

However, feathered wings were ultimately more successful and led to the evolution of birds – bats did not evolve until after the extinction of dinosaurs 66 million years ago.

Fossilised stomach contents showed the creature had undigested bone material suggested it hunted other animals.

New species of ancient human discovered - in pictures Show all 7 1 /7 New species of ancient human discovered - in pictures New species of ancient human discovered - in pictures A foot bone of the newly discovered species Homo Luzonensis Reuters New species of ancient human discovered - in pictures The right upper teeth of the newly discovered species Homo Luzonensis AFP/Getty New species of ancient human discovered - in pictures The teeth of newly discovered species Homo Luzonensis (L) are compared with those of the Homo Erectus AFP/Getty New species of ancient human discovered - in pictures The excavation team at work in Callao Cave on Luzon Island AFP/Getty New species of ancient human discovered - in pictures Luzon Island in the Philippines, where the discovery was made AFP/Getty New species of ancient human discovered - in pictures The excavation site in Callao Cave on Luzon Island AFP/Getty New species of ancient human discovered - in pictures The excavation site in Callao Cave on Luzon Island AFP/Getty

"It was probably quite fierce," said Dr Wang.

The new specimen belongs to a group called the scansoriopterygids which are tree climbers with very long hands and fingers.

Pictured: a). Fossil; b). reconstruction of bones; c). close-up of the membranous wing; d). image of the bony stomach content (Min Wang ) (Min Wang)

Ambopteryx was related to a similar dinosaur named Yi Qi which was found by a farmer in China in 2007. Yi Qi was the first specimen to be found with bat-like wings.