Actually you might say that the last Pharaoh was Ptolemy XV Caesarion, Cleopatra’s son, proclaimed as co-ruler with his mother, and who outlived her briefly until Octavian had him killed.
He might have been a decent (for a certain value of decent) ruler but as a person he stunk.