We identify these immune defences to occur at spatiotemporally distinct phases of infection, highlighting a critical role for HIRA in the regulation of multiple phases of host immunity in response to pathogen invasion. Here, HIRA is linked to infection.