The ignorant king put the witches son to death unbeknownst to him. For his greed was the cause of her sons crimes and ultimately his death she cursed him and told him greed was the greatest sin.
Slowly the king lost everything. His riches,his castle, and everthing else of great worth. For that was the cause of the curse.
The king went in search of the witch so she could remove the curse and he may have his riches and kingdom back. Along the way he meet people who changed his greedy heart.
Along the way he helped people in need and in turn they paid him back with gratitude something he had never been given. And it warmed his heart and gave him happiness something he had not felt for a long time.
When he finally found the lair of the witch she was no where to be seen. And without realizing it a great deal of time had past and he was old and frail. As he laid on his death bed he apologized for his crimes. The witch appeared no longer an ugly witch but a beautiful lady. she forgave him and a then he closed his eyes and slept.
The witch had sent him back to his time and he was grateful. But instead of ruling with greed he ruled humbly and graciously. And the witch watched from a far with her son by her side.