A photographer whose camera was used by a monkey to take a selfie has won a two-year legal battle against an animal rights group about copyright over the image.

Naruto, a rare crested macaque monkey who lives in the Tangkoko Reserve on the Indonesian island of Sulawesi, picked up David Slater’s camera and snapped the now-famous photo in 2011.

Peta sued “on behalf” of the monkey in 2015, seeking financial control of the photographs for the benefit of Naruto.

Judges in the US deemed the monkey was ineligible to hold copyright over the image.

The happiest photos in the world Show all 10 1 /10 The happiest photos in the world The happiest photos in the world Top10 happiest photos In first place, this much-shared squirrel. The photograph was taken in 2009 by Melissa Brandts and her husband Jackson while visiting Lake Minnewanka at Banff National Park in Canada. The image spread virally and is revered by many as the original animal photo-bomb. The happiest photos in the world Top10 happiest photos This pink-hatted baby proved the biggest small human hit. It was also voted the ‘most smiled at’ image by women. Psychological studies have demonstrated that we have an automatic positive emotional reaction to pictures of babies. The happiest photos in the world Top10 happiest photos Owls might be known as wise and nocturnal, but they're not traditionally associated with happiness. Yet this snowy owl won out over the most socially-shared animals - cats and dogs – to make more people smile. . The fact that owls are also associated with both childhood (books and films) and nighttime (when we relax and rest and escape from work and stress) also promotes a positive reaction on our part. The happiest photos in the world Top10 happiest photos This looming giraffe image proved irresistible in testing. Its smiling face, framed by blue sky and fluffy clouds prompted a smile from over two thirds of people. This curious giraffe probably massages our egos - we react positively to things that pay us attention. The fact that it is leaning in our direction and seems to be smiling signals it is fascinated by us and is unthreatening. The happiest photos in the world Top10 happiest photos Does this blissed-out, smiling and possibly sleeping dog remind us of rolling around in green fields? He certainly looks happy about it, and his grin triggered a mirror smile in over two thirds of people. Dogs and cats often rank highly in our favourite photo lists. This is probably due to a combination of familiarity with these animals as pets (and fond memories of family pets) and because they are creatures that are loyal and trusting of humans. The happiest photos in the world Top10 happiest photos The world's favourite pets come together to star in this cute photograph. A classic friendship. The happiest photos in the world Top10 happiest photos This small smiling lamb comes in at number 7 The happiest photos in the world Top10 happiest photos This picture of a baby with a moustache a bow tie is sure to make people smile The happiest photos in the world Top10 happiest photos These two huge polar bears embracing triggers a feeling of warmth in even the iciest of hearts The happiest photos in the world Top10 happiest photos Cats are known for loving a good rest, and this kitty makes the most of his stretch

Lawyers for Mr Slater argued his company, Wildlife Personalities Ltd, owns worldwide commercial rights to the photos, including the selfie of the monkey’s toothy grin.

Under a compromise, Mr Slater agreed to donate 25 per cent of any future revenue from the images to charities dedicated to protecting crested macaques in Indonesia.

World’s smallest monkey gives birth to tiny twins at Chester Zoo

Lawyers representing Peta and Mr Slater asked the US Court of Appeals to dismiss the case and throw out a lower-court decision that said animals cannot own copyrights.

“Peta and David Slater agree that this case raises important, cutting-edge issues about expanding legal rights for non-human animals, a goal that they both support, and they will continue their respective work to achieve this goal,” Mr Slater and Peta said in a joint statement.