WASHINGTON - President Barack Obama is ordering changes to the government's massive collection of phone records that he says will end the program "as it currently exists."

Obama says in a speech he is making at the Justice Department Friday that intelligence officials have not intentionally abused the program to invade privacy.

But he also says he believes critics of the program have been right to argue that without proper safeguards, the collection could be used to obtain more information about American's private lives and open the door to more intrusive programs.

Obama announced the changes after a months-long review spurred by former National Security Agency analyst Edward Snowden's leaks about secret surveillance programs.