Is there any way that I can remove OSXYosemite 10.10 and go back to Maverick?

I

iMore Question

I made a serious mistake and downloaded Yosemite onto my iMac (20in mid 2007)
Is there any way that I can get rid of Yosemite and go back to Maverick?