Mark Zuckerberg, Eduardo Saverin, Dustin Moskovitz and Chris Hughes invented Facebook. Zuckerberg wrote the software, Saverin managed business relations, Moskovitz was a programmer and Hughes acted as representative for the company. In 2004, Andrew McCollum joined the team as a graphic artist and Napster founder Sean Parker became company president.
Zuckerberg was a second-year Harvard student when he designed the Facemash website in 2003 and laid the foundation for the 2004 Thefacebook website that became Facebook. Thefacebook membership was initially restricted to Harvard students, but the development team expanded it to include additional colleges and universities. The company changed its name to Facebook in 2005 after buying the facebook.com domain name for $200,000.