The 2015 Six Nations Championship ended in a whitewash for Scotland, despite optimism amongst players and supporters beforehand. However, Scotland displayed improved performances in their World Cup warm-up games over the summer, with two wins over Italy and narrow defeats away in Ireland and France. Scotland played well at the 2015 Rugby World Cup in England; qualifying from their group by beating Japan, USA and Samoa, although they lost to South Africa. Scotland played Australia in the quarter-finals, and with 30 seconds remaining led 34–32. However, referee Craig Joubert then awarded the Wallabies a highly controversial penalty, later judged by the game's ruling body to be incorrect, which Bernard Foley scored to give Australia victory.