Andrew Gray was a Scot who became Professor of Physics at University College Bangor and then returned to Glasgow as Kelvin's successor.
Find out more at: https://mathshistory.st-andrews.ac.uk/Biographies/Gray_Andrew/