The case was dismissed "without prejudice", meaning charges could be refiled when Trump leaves office.