Question: who rigged the goblet of fire?
Answer: Harry's name was put into the Goblet of Fire by the Death Eater Barty Crouch Junior , brilliantly disguised as Mad -Eye-Moody ( Alastor Moody ) by his consumption of the Polyjuice potion.