Mark Zuckerberg created Facebook in 2004 as a social directory for Harvard students called TheFacebook. It expanded to other universities and moved headquarters to California, receiving investment from Peter Thiel. By 2006, Facebook removed restrictions and allowed anyone over age 13 to join. Today, Facebook uses a variety of technologies like PHP, MySQL, and services in languages like C++, Java, Python and Erlang to power its platform and allow third-party developers to build applications.