what event led to theodore roosevelt becoming president