Great men make laws, and greater men interpret them.
If a leader wishes to achieve immortality, let him organize, arrange, and codify a body of law for his people. Many of the greatest leaders (Numa Pompilia, Lycurgus, Solon, etc.) have been lawgivers. The monuments of stone have crumbled, but the laws remain.
To codify is to bestow immortality.