But the political events of the last few days may have provided a boost to the candidacy of Ms. O'Donnell , a Buffalo resident who is the former United States attorney for the Western District of New York .