Twist donut

 From:  gunter511
6215.1 
I am trying to twist a profile curve around a donut.

I first made the profile curve, revolved it around the circle to make the donut. I just can't figure out how to twist it.
I've tried twist, history etc. but clearly I'm doing something wrong.

Could someone please tell me how to do this.. Thanks in advance.