Unas (also Wenis or Oenas) was a Pharaoh of Ancient Egypt, the last king of the 5th dynasty. He built a small pyramid decorated with ancient texts--the so-called pyramid texts. He was the first known to ever decorate his pyramid in this way. He probably had no sons, so the 5th dynasty came to an end after his death. His successor, Teti, married his daughter, Iput, in order to legitimize the throne and found the 6th dynasty.