After graduating from Exeter in 2002, Zuckerberg enrolled at Harvard University. By his sophomore year at the ivy league institution, he had developed a reputation as the go-to software developer on campus. It was at that time that he built a program called CourseMatch, which helped students choose their classes based on the course selections of other users. He also invented Facemash, which compared the pictures of two students on campus and allowed users to vote on which one was more attractive. The program became wildly popular, but was later shut down by the school administration after it was deemed inappropriate.
Based on the buzz of his previous projects, three of his fellow students—Divya Narendra, and twins Cameron and Tyler Winklevoss—sought him out to work on an idea for a social networking site they called Harvard Connection. This site was designed to use information from Harvard's student networks in order to create a dating site for the Harvard elite. Zuckerberg agreed to help with the project, but soon dropped out to work on his own social networking site with friends Dustin Moskovitz, Chris Hughes and Eduardo Saverin.
Zuckerberg and his friends created a site that allowed users to create their own profiles, upload photos, and communicate with other users. The group ran the site—first called The Facebook—out of a dorm room at Harvard until June 2004. After his sophomore year, Zuckerberg dropped out of college to devote himself to Facebook full time, moving the company to Palo Alto, California. By the end of 2004, Facebook had 1 million users.