(CNN) -- New Zealand beat already-qualified England by four wickets at the Wanderers, Johannesburg on Tuesday to reach the Champions Trophy semifinals as Group B winners.
Martin Guptill scored a whirlwhind half-century as New Zealand reached the Champions Trophy semis.
The victory completed a stirring comeback by the Black Caps, who also overcame Sri Lanka after tamely surrendering to hosts South Africa in their opening match.
Bowlers Grant Elliott and Shane Bond inflicted most damage after the Kiwis won the toss and an England team that had amassed 323 against South Africa just 48 hours earlier were bundled out for just 146 in 43.1 overs.
New Zealand openers Brendon McCullum (48) and Martin Guptill (53) made a whirlwind start in pursuit of the total, scoring 66 from 60 balls, and the 147-run target was reached for the loss of six wickets after 27.1 overs.
Paul Collingwood, Ravi Bopara and tail-enders Graeme Swann and Ryan Sidebottom were the only England batsmen to reach double figures on an overcast afternoon.
The result means both teams reach the last four, meaning favorites and host nation South Africa, and Sri Lanka, have both been eliminated from the tournament.