Khaemwaset was the fourth son of Ramesses II; the third, Pareherwenemef died earlier.
Among Ramesses II's offspring, Khaemwaset ranks as the fourth son; Pareherwenemef, who came before him, had already perished prior to Khaemwaset's birth or ascension.