sentences:  When United States Congressman James F. O'Connor, who represented Montana's 2nd congressional district died on January 15, 1945, a special election was held to replace him, which D'Ewart won.He was re-elected in 1946 against Democratic nominee John J. Holmes by a wide margin, and in 1948, he defeated Willard E. Fraser to narrowly win re-election.D'Ewart was re-elected in 1950 and 1952 against John J. Holmes.