The Pakistan intelligence agency; a powerful and almost autonomous political and military force; has procured nuclear technology and delivery capabilities; has had strong ties with the Taliban and other militant Islamic groups.