During the Song period, entry into the government bureaucracy was based on

success in trade.

social status.

family wealth.

the merit system.

the merit system.