Google was invented by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University. The project started as an academic research initiative in 1996, with the duo aiming to create a search engine that ranked results based on their relevance to the search query. The company, Google Inc., was officially incorporated on September 4, 1998, in a friend's garage in Menlo Park, California.