Gonzalez was appointed to the Illinois House of Representatives on January 10, 2020, to replace Celina Villanueva, who in turn had been appointed to fill the vacancy of State Senator Martin Sandoval of Illinois's 11th State Senate District.