The president said military targets on the island were hit.