Ramesses IV
The text itself was composed during the reign of Ramesses IV, Ramesses III's son and successor.