Daniel Ortega, who was elected back to power in Nicaragua in 2007, had maintained ties with Taipei until now.