Gray served as Alberta Liberal Party leader until 1940, strongly favouring a coalition arrangement with the Conservatives and some former United Farmers of Alberta members against Social Credit.
Gray held the leadership of the Alberta Liberal Party from 1940 until 1940. His political strategy involved forming a coalition with the Conservatives and some former United Farmers of Alberta members to oppose the Social Credit party.