Mice were anesthetized and transcardially perfused with PBS/heparin (Hospira, Lake Forest, IL, USA) to clear blood cells from the vasculature. The brains were dissected out and meninges removed. The tissue was then homogenized with a Tenbroek homogenizer (Corning, Corning, NY, USA), and the cell suspension was then passed through a 70-μm filter. This single-cell suspension was then applied to a 70/50/35% Percoll Plus (GE Healthcare, Pittsburgh, PA, USA) density gradient and spun at 2000g for 20–30 min. Microglia and macrophages collected at the interphase were then washed with PBS before proceeding.