German import Almandin won a thrilling sprint to the line to claim the A$6.2 million (HK$36.6m) Melbourne Cup at Flemington Racecourse on Tuesday.

Heartbreak City, ridden by Hong Kong-based Joao Moreira finished second by a head in the 3,200 metre handicap with favourite Hartnell third.

Seven-year-old gelding Almandin, trained by Australian Robert Hickmott, emerged at the final turn to haul in Heartbreak City in the gruelling two-mile handicap.

Chad Schofield is perfectly placed to fulfil his Melbourne Cup dream with Oceanographer

It gave owner Lloyd Williams his fifth Melbourne Cup in the race’s 156th running and jockey Kerrin McEvoy his second after his win on Brew in 2000.

“Jeez, he travelled well,” McEvoy said from the saddle.

“How lucky am I, mate? The elation is just unreal.

Melbourne Cup dream alive for Chad Schofield, snaring the gun ride on Oceanographer

“Just a dream, mate, to win my second Cup. It’s just a dream come true. I love these staying races, I love the Melbourne Cup.”

Heartbreak City finished second and favourite Hartnell, one of five entrants from Godolphin, finished third, continuing the frustrations of the powerful stable owned by Sheikh Mohammed bin Rashid Al Maktoum.

Godolphin have entered horses into the Cup since 1998 for the return of only three runner-up finishes.