many things would be postponed until after his fathers funeral ten days from now , but eryk found himself unexpectedly in the middle of a half-negotiated treaty with madelia , the kingdom to the north .