Emperor’s bold decision

At the beginning of our era, the Japanese had a custom: when the military commander passed away, all his servants were buried alive along with him.

The emperor Uynin took a decision that did not break the tradition but saved the lives of servants.

What was the emperor’s decision?