WASHINGTON (AP) - The nation's top intelligence official says he's not optimistic that the cyber agreement the U.S. struck with China will end Chinese cyber threats in the United States.

WASHINGTON (AP) The nation's top intelligence official says he's not optimistic that the cyber agreement the U.S. struck with China will end Chinese cyber threats in the United States.

President Barack Obama and Chinese President Xi Jinping (shee jihn-peeng) recently agreed not to conduct or knowingly support cyber theft of trade secrets or competitive economic information.

On Tuesday, Senate Armed Services Committee Chairman John McCain asked Director of National Intelligence James Clapper if the agreement would result in the elimination of cyber attacks from China.

Clapper says U.S. intelligence analysts will have to watch Chinese behavior.

McCain asked Clapper whether he is "optimistic."

Clapper said, "No."

In a recent hack linked to China, data on some 22 million U.S. government employees, contractors, job applicants and relatives was stolen.