Pressure for increased autonomy during the 1970s and 1990s led to the passing of the Scotland Act in 1999 by the Labour government of Tony Blair , with Scottish Secretary Donald Dewar as the architect of the legislation .