Both outgoing President James Buchanan and Lincoln disagreed with the legality of the secession , considering it rebellion .
Both the outgoing administration of President James Buchanan and the incoming administration rejected the legality of secession , considering it rebellion .