Here Paradise, you are hilarious my friend, google is your friend, Experts agreed that the president, as commander-in-chief, is ultimately responsible for classification and declassification. When someone lower in the chain of command handles classification and declassification duties -- which is usually how it's done -- it's because they have been delegated to do so by the president directly, or by an appointee chosen by the president.
The majority ruling in the 1988 Supreme Court case Department of Navy vs. Egan -- which addressed the legal recourse of a Navy employee who had been denied a security clearance -- addresses this line of authority.
"The President, after all, is the 'Commander in Chief of the Army and Navy of the United States'" according to Article II of the Constitution, the court's majority wrote. "His authority to classify and control access to information bearing on national security ... flows primarily from this constitutional investment of power in the President, and exists quite apart from any explicit congressional grant."