The legal battle at the centre of Facebook film The Social Network has been settled in court.
The members of a federal appeals court panel has ruled the 2008 deal between founder Mark Zuckerberg and three former Harvard colleagues was valid.
The decision upheld a negotiated agreement between Zuckerberg and the founders of a rival social-networking site, ConnectU.
As a result, the dispute over who came up with the Facebook idea has been resolved.
In 2008, Zuckerberg had to pay Divya Narendra and Olympic rowing twins Cameron and Tyler Winklevoss a share of Facebook's net worth, which was estimated at $65 million (£40 million).