Sui dynasty
The term originated from Sui dynasty China. In Japan, it came into use during the Kamakura period.