Mr. Nimeiri came to power in a coup in 1969 and served for 16 years until he too was ousted by a coup in 1985 while visiting the United States .