at Dunfermline, to obtain his signature to a declaration of religion; when Charles refused to sign,
In the context of Dunfermline, Charles was asked to sign a declaration about his religion. He refused to do so.