Mooy struck from the spot in the eighth minute to put the Terriers ahead.

Florent Hadergjonaj was brought down in the area and the Australian placed it to the right to make it 1-0.

The Serie A side hit back in the 58th minute when Diego Falcinelli latched onto a through ball and slotted it home.

Right on full-time, Huddersfield grabbed the winner when Steve Mounie headed in.