SAIPAN, Northern Mariana Islands — Julian Assange, the founder of the anti-secrecy site WikiLeaks, pleaded guilty Wednesday to one count of violating the Espionage Act in a U.S. federal court in the Northern Mariana Islands, a U.S. territory in the Pacific Ocean, bringing an end to a years-long legal saga that spanned five countries.