Ramesses III reigned in the 12th century BC and is often described as the last great pharaoh of the New Kingdom. His temple was modelled in part on the Ramesseum of Ramesses II nearby.
The complex is fortified, entered through a gatehouse built in the style of a Syrian fortress — an unusual thing for an Egyptian temple and a sign of the period's insecurity.
The fortification turned out to matter. In the troubled decades at the end of the New Kingdom the walled enclosure became the administrative centre of the whole west bank — grain stores, offices, the workmen's payroll — and the population moved inside its walls for safety. A temple ended its working life as a walled town.
Ramesses III's own death is part of the record too: the trial documents of the harem conspiracy describe a plot against him from inside the palace, and a modern CT study of his mummy found evidence of a cut throat. Palace intrigue, documented on papyrus and, three thousand years later, in a scanner.
Later it became the centre of the town of Djeme, and Coptic settlement filled and covered much of the site, which is part of why so much survived. Records from the workers' village of Deir el-Medina, close by, include accounts of the first recorded labour strike in history during Ramesses III's reign.