Thomas F. Reilly (born February 14, 1942) is an American attorney and politician who served as the 45th Massachusetts Attorney General. He was born in Springfield, Massachusetts to Irish immigrant parents. He was one of three candidates who sought the Democratic nomination for governor of Massachusetts in the 2006 election. Former U.S. Assistant Attorney General Deval Patrick won the party's nomination and the general election, defeating Reilly and businessman Chris Gabrieli.