Image copyright AP Image caption Prosecutors said Jose Pimentel ran a militant website before he began making bombs A New York man who authorities say planned a campaign of terrorist attacks has pleaded guilty to avoid life in prison, his lawyers have said.