what exactly happened with welfare reform?

I know that there was another system replaced with TANF at some point (when I was too young to care about or pay attention to things like welfare), and I know that it resulted in people earning more, but maintaining the same or even bringing in less income. Anyone care to flesh this out for me and/or provide a link?

TIA.