From 1927 to 1957 , the original Mille Miglia was an all-out race on public roads from Brescia in northern Italy to Rome and back ; it ended when an accident killed a driver , his navigator and 10 spectators .