West Ham United will host Wigan Athletic in the Capital One Cup third round.
The Hammers were drawn at home to the Latics when the draw was held on Thursday evening, with the tie set to be staged at the Boleyn Ground in the week commencing Monday 24 September. The two sides have never met before in the League Cup competition.
Sam Allardyce's side won through to the last-32 courtesy of a 2-0 home win over Crewe Alexandra in the secound round, with Nicky Maynard and Modibo Maiga getting the goals. The Hammers reached the final of the competition in both 1966 and 1981, when they finished as runners-up.
Managed by Roberto Martinez, the Latics got through to the second round this term courtesy of a fine 4-1 second-round win at Nottingham Forest.
Barclays Premier League side Wigan reached the League Cup final in 2006 - the same year the Hammers reached the FA Cup final - before losing to Manchester United in the final.
West Ham have added incentive to win through to the fourth round as it was Wigan whose 3-2 victory at the JJB Stadium condemned the Hammers to relegation from the Barclays Premier League in 2011.
Full ticket details will appear on whufc.com as soon as they are confirmed.