Facebook agreed to pay an undisclosed amount of cash and stock to settle a long-running legal battle over whether founder Mark Zuckerberg stole ideas for the site from fellow Harvard students, according to court documents. The parties in the case -- which pitted Zuckerberg, a shy 24-year-old entrepreneur now worth billions of dollars, against former Harvard classmates and one-time U.S. Olympic team rowing hopefuls Cameron and Tyler Winklevoss -- agreed to a tentative settlement deal in February, according to the court papers.