The photo copyright of the Crested macaques monkey that grabbed a camera and took its own photo, looks like that suit has been settled.

Under the deal, before a federal appeals court the photographer whose camera was used by the monkey to take its own selfi, agreed to donate 25 percent of any future revenue from the images to charities dedicated to protecting crested macaques in Indonesia.

Attorneys for the group and the photographer, David Slater, asked the San Francisco based 9th U.S. Circuit Court of Appeals to dismiss the case and throw out a lower court decision that said animals cannot own  copyrights.

The People for the Ethical Treatment of Animals sued on behalf of the macaque monkey back in 2015, seeking financial control of the photographs for the benefit of the monkey named Naruto, who snapped the photo of himself with Slater's camera.