Which world championship in 2005 did Scotland win?

Scotland won the British Home Championship outright on 24 ... but recovered to steer Scotland to their first World Cup finals!