When Was The Royal Castle Built