The staffer, Marko Elez, resigned following revelations of racist social media posts, leading to public scrutiny.