The games were held to be one of the two central rituals in Ancient Greece, the other being the much older religious festival, the Eleusinian Mysteries.[16] The games started in Olympia, Greece, in a sanctuary site for the Greek deities near the towns of Elis and Pisa (both in Elis on the peninsula of Peloponnesos). The first games began as an annual foot race of young women in competition for the position of the priestess for the goddess, Hera[17] and a second race was instituted for a consort for the priestess who would participate in the religious traditions at the temple.[18] The Heraea Games, the first recorded competition for women in the Olympic Stadium, were held as early as the sixth century BC. It originally consisted of foot races only, as did the competition for males. Some texts, including Pausanias's Description of Greece, c. AD 175, state that Hippodameia gathered a group known as the "Sixteen Women" and made them administrators of the Heraea Games, out of gratitude for her marriage to Pelops. Other texts related to the Elis and Pisa conflict indicate that the "Sixteen Women" were peacemakers from Pisa and Elis and, because of their political competence, became administrators of the Heraea. Being the consort of Hera in Classical Greek mythology, Zeus was the father of the deities in the pantheon of that era. The Sanctuary of Zeus in Olympia housed a 13-metre-high (43 ft) statue in ivory and gold of Zeus that had been sculpted by Phidias circa 445 BC. This statue was one of the ancient Seven Wonders of the World. By the time of the Classical Greek culture, in the fifth and fourth centuries BC, the games were restricted to male participants. The historian Ephorus, who lived in the fourth century BC, is one potential candidate for establishing the use of Olympiads to count years, although credit for codifying this particular epoch usually falls to Hippias of Elis, to Eratosthenes, or even to Timaeus, whom Eratosthenes may have imitated.[19][20][21] The Olympic Games were held at four-year intervals,

and later, the Greek method of counting the years even referred to these games, using the term Olympiad for the period between two games. Previously, every Greek state used its own dating system, something that continued for local events, which led to confusion when trying to determine dates. For example, Diodorus states that there was a solar eclipse in the third year of the 113th Olympiad, which must be the eclipse of 316 BC. This gives a date of (mid-summer) 765 BC for the first year of the first Olympiad.[22] Nevertheless, there is disagreement among scholars as to when the games began.[23] The "Exedra" reserved for the judges at Olympia on the north embankment of the stadium The only competition held then was, according to the later Greek traveller Pausanias who wrote in 175 AD., the stadion race, a race over about 190 metres (620 ft), measured after the feet of Hercules. The word stadium is derived from this foot race. The Greek tradition of athletic nudity was introduced in 720 BC, either by the Spartans or by the Megarian Orsippus, and this was adopted early in the Olympics as well. Several groups fought over control of the sanctuary at Olympia, and hence the games, for prestige and political advantage. Pausanias later writes that in 668 BC, Pheidon of Argos was commissioned by the town of Pisa to capture the sanctuary from the town of Elis, which he did and then personally controlled the games for that year. The next year, Elis regained control. The Olympic Games were part of the Panhellenic Games, four separate games held at two- or four-year intervals, but arranged so that there was at least one set of games every year. The Olympic Games were more important and more prestigious than the Pythian, Nemean, and Isthmian Games. Finally, the Olympic Games were suppressed, either by Theodosius I in AD 393 or his grandson Theodosius II in AD 435,[24] as part of the campaign to impose Christianity as a state religion. The site of Olympia remained until an earthquake destroyed it in the 6th century AD.