The queens of Edward I and Edward II stayed in the Castle and Priory while their husbands were campaigning in Scotland .
DET NOUN ADP PROPN PROPN CCONJ PROPN PROPN VERB ADP DET PROPN CCONJ PROPN SCONJ PRON NOUN AUX VERB ADP PROPN .