England, set a record-breaking target of 457 for victory, were dismissed for 186 shortly before lunch on the final day.