▁the ▁S riv ij aya ▁Empire ▁began ▁to ▁decl ine . ▁Air lang ga ▁was ▁known ▁for ▁his ▁religious ▁toler ance , ▁and ▁was ▁a ▁patron ▁of ▁both ▁the ▁H indu ▁and ▁Buddh ist ▁relig ions . ▁ ▁In ▁ 1 0 3 5 ▁Air lang ga ▁constructed ▁a ▁Buddh ist ▁monaster y ▁named ▁S riv ij ay as rama ▁dedicated ▁for ▁his ▁queen ▁cons ort ▁D har map ras ad ott ung ade wi . ▁The ▁monaster y ▁bearing ▁the ▁name ▁of ▁S riv ij aya ▁suggests ▁that ▁his ▁queen ▁cons ort ▁was ▁probably ▁a ▁S riv ij ay an ▁prin cess , ▁a ▁close ▁relative , ▁probably ▁daughter , ▁of ▁the ▁S riv ij ay an ▁king ▁Sang ram av ij ay attung av ar man . ▁She ▁had ▁taken ▁refuge ▁in ▁East ▁Java ▁after ▁her ▁father ▁was ▁taken ▁prisoner ▁and ▁her ▁kingdom ▁was ▁ra ided ▁through ▁series ▁of ▁Indian ▁Ch ola ▁ra ids . ▁The ▁king ▁seems ▁to ▁be ▁sympath etic ▁to ▁the ▁poor ▁fate ▁of ▁the ▁S riv ij ay an ▁prin cess , ▁having ▁lost ▁her ▁family ▁and ▁her ▁kingdom , ▁and ▁probably ▁genu in ely ▁fell ▁in ▁love ▁and ▁devoted ▁to ▁her , ▁thus ▁prom oting ▁her ▁as ▁pr ames w ari ▁( the ▁queen ▁cons ort ). ▁Air lang ga ▁went ▁further , ▁naming ▁his ▁daughter ▁from ▁queen ▁D har map ras ad ott ung ade wi ▁as ▁he ir ess , ▁the ▁future ▁queen ▁reg nant ▁of ▁K ah ur ip an . ▁The ▁decl