(Bloomberg) -- Five years after the equity bull market started, U.S. investors returned to stocks in 2013, just in time for the best relative returns versus bonds on record.

Exchange-traded and mutual funds investing in shares took in about $162 billion, the most since 2000, according to data compiled by Bloomberg and the Investment Company Institute. At the same time, the Standard & Poor’s 500 Index climbed 29%, beating government debt by 32% age points, the widest spread since at least 1978, according to data compiled by Bank of America Merrill Lynch and Bloomberg.

Subscribe Now

Access to premium content including in-depth coverage of mutual funds, hedge funds, 401(K)s, 529 plans, and more.

3-Week Free Trial

Insight and analysis into the management, marketing, operations and technology of the asset management industry.