单项选择题

As resident of Texas, Dennis __ to the House of Representatives in 1930 and to the Senate in 1938.

A.when elected
B.elected
C.who was elected
D.was elected