How can an illegal married to a U.S. citizen become legal?

Please do not erase my correct answer. That message board is a wonderful place to go to for help in the process of an illegal immigrant becoming an legal resident because I have helped my husband do so.