To lay a ghost to rest

Posted by Larry Baruch on November 20, 2004

The New York Times recently included the phrase "President George W. Bush has put to rest all the ghosts of his father's one-term administration". This's probably a corruption of the expression "to lay a ghost to rest". Can someone offer it's true definition and suggest it's origin?