Ramesses XI
The story is set in an anonymous "Year 5", generally taken to be the fifth year of the so-called Renaissance of Pharaoh Ramesses XI, the tenth and last ruler of the Twentieth Dynasty of Ancient Egypt (1190 - 1077 BCE). However, since Karl Jansen-Winkeln has proposed to reverse the order of the High Priests of Amun Herihor and Piankh, this ascription has become disputed. With the pontificate of Herihor falling later than that of Piankh, who is attested in year 7 of the Renaissance, the date in the heading of Wenamun should rather refer to the direct (or indirect) successor of Ramesses XI. Following Jansen-Winkeln, Arno Egberts (1991) therefore argues that the story is set in the fifth regnal year of Smendes I, the Delta-based founder of the Twenty-first Dynasty. Recently, yet another solution has been suggested by Ad Thijs who ascribes the text to year 5 of "king" Pinedjem I, who is the successor of Ramesses XI in his radically alternative chronology, which is based on the reversal of High Priests put forward by Jansen-Winkeln.