But he was ill rewarded for his services , for on the return of Ferdinand VII he was imprisoned at LOCATION@1 from NUMBER@1 to NUMBER@2 .

But on the return of Ferdinand VII he was put in prison at LOCATION@1 from NUMBER@1 to NUMBER@2 .
