Why was John brown accused of treason

He had fought in the bleeding Kansas struggles
He had fought against the northern states
He had led an armed attack on Virginia
He gave weapons to his sons and a man