What is the use of the words "as" and " like"

The prisoner returned to jail that night ______ he said he would. (as, like)

The purists prefer as in this construction.