 Complete the following phrase:  In 1797, Castlereagh was at last appointed to the Dublin Castle administration as Keeper of the Kings Signet for Ireland. Following a declaration of martial law he was made both a Lord of the Treasury and a Member of the Privy Council of Ireland 17971800. At the urging of Camden, Castlereagh assumed many of the onerous duties of the often-absent Chief Secretary for Ireland who was responsible for day-to-day administration and asserting the influence of Dublin Castle in the House of Commons. In this capacity, and after March 1798 as Acting Chief Secretary, Castlereagh played a key role in crushing the United Irish rising when it came in May and June 