▁Wel sh ▁law . ▁Phill ip ▁held ▁the ▁Lord ship ▁for ▁the ▁rest ▁of ▁his ▁life , ▁and ▁it ▁was ▁inherited ▁by ▁his ▁son . ▁ ▁Id ner th ' s ▁remaining ▁lands ▁were ▁inherited ▁by ▁his ▁son , ▁Mad og . ▁In ▁ 1 1 3 0 , ▁for ▁unclear ▁reasons , ▁the ▁Sher iff ▁of ▁Here ford , ▁P ain ▁f itz John , ▁built ▁an ▁e pon ym ous ▁castle ▁in ▁southern ▁Fer li x , ▁not ▁far ▁from ▁the ▁Here ford shire ▁border . ▁In ▁ 1 1 3 5 , ▁P ain ' s ▁Castle ▁was ▁acquired ▁by ▁Mad og ; ▁P ain ▁was ▁an ▁oppon ent ▁of ▁Em press ▁Mat ilda , ▁the ▁legit imate ▁he ir ▁of ▁King ▁Henry , ▁Henry ▁had ▁just ▁died , ▁and ▁P ain ▁may ▁have ▁been ▁seeking ▁an ▁alleg iance . ▁ ▁Independ ence ▁ ▁Mad og ▁died ▁in ▁ 1 1 4 0 , ▁and ▁the ▁real m ▁was ▁divided ▁between ▁his ▁sons . ▁In ▁ 1 1 4 2 , ▁when ▁the ▁opposition ▁to ▁Mat ilda ▁lead ▁to ▁the ▁An archy , ▁Hugh ▁de ▁Mort imer ▁inv aded ▁northern ▁Fer li x . ▁killing ▁H yw el ▁and ▁Cad w gan , ▁sons ▁of ▁Mad og , ▁in ▁the ▁process . ▁In ▁ 1 1 4 6 ▁he ▁moved ▁further ▁south , ▁and ▁in ▁the ▁process ▁of ▁capt uring ▁P ain ' s ▁Castle , ▁killed ▁M ared ud d , ▁another ▁of ▁Mad og ' s ▁sons .