During the late 1800s, political machines controlled the governments of many cities by
A: denying voting rights to immigrants
B: attracting dissatisfied voters from the two major political parties
C: using corrupt practices and patronage
D: favoring civil service reform