assador ▁of ▁the ▁City ▁of ▁Paz ▁in ▁Peru , ▁he ▁returned ▁to ▁Spain ▁and ▁subsequently ▁did ▁not ▁see ▁any ▁more ▁active ▁service ▁until ▁ 1 8 2 5 . ▁ ▁Philippines ▁Due ▁to ▁ill ▁health , ▁Rica fort ▁returned ▁to ▁Spain ▁before ▁the ▁end ▁of ▁the ▁con quest ▁of ▁the ▁South ▁American ▁colon ies . ▁In ▁ 1 8 2 5 , ▁he ▁was ▁named ▁Governor - General ▁of ▁the ▁Philippines , ▁arriv ing ▁at ▁Man ila ▁in ▁October , ▁and ▁by ▁a ▁royal ▁order ▁also ▁took ▁possession ▁of ▁the ▁intend ancy ▁of ▁ex che quer . ▁That ▁year , ▁the ▁government ▁bought ▁the ▁Mal ac añ an ▁Palace , ▁which ▁had ▁been ▁vac ant ▁since ▁the ▁death ▁of ▁its ▁previous ▁owner , ▁Colonel ▁Jose ▁Miguel . ▁Rica fort ' s ▁first ▁task ▁was ▁to ▁cons olid ate ▁the ▁absol ut ist ▁system ▁after ▁the ▁liberal ▁phase ▁of ▁ 1 8 2 0 – 1 8 2 3 , ▁and ▁to ▁that ▁end ▁in ▁April ▁ 1 8 2 6 ▁he ▁issued ▁a ▁Good ▁Government ▁Ord in ance . ▁It ▁was ▁designed ▁to ▁ensure ▁strict ▁comp liance ▁with ▁the ▁laws , ▁and ▁thus ▁neg ate ▁the ▁efforts ▁of ▁the ▁liber als . ▁An ▁order ▁was ▁also ▁made ▁to ▁return ▁est ates ▁to ▁their ▁religious ▁own ers ▁and ▁what ▁was ▁declared ▁to ▁them ▁by ▁the ▁dec ree ▁of ▁ 1 7 7 6 ; ▁it ▁was ▁also ▁stated ▁that ▁the ▁sec ular ization ▁of ▁est ates ▁could ▁only ▁be ▁en act ed ▁ ▁by