Why does the ability of political leaders to control the bureaucracy vary? With strong meritocratic recruitment and tenure protections, Brazil appears an ideal case for successful bureaucratic resistance against political control. However, our analysis reveals how Bolsonaro overcame initial resistance by recalibrating strategies, ultimately dominating many key sectors of the bureaucracy. Drawing on over 100 interviews with public officials, we find that strategies of political control and bureaucratic resistance unfold in a dynamic, yet often predictable, pattern based on leaders' previous experiences and their ability to learn, adjust, and tighten their grip on the instruments of the state. The Bolsonaro administration transformed the regulatory framework and targeted individual state employees, reducing arenas of contestation and inducing public sector workers to remain silent, implementing the president’s policy preferences. We examine these control strategies in environmental agencies, their replication, and potential long-term consequences.