In 1982, the Labour Party entered into a coalition government with Fine Gael. Many expected Robinson to be the attorney-general, but the Labour party leader instead picked an unknown, new senior counsel called John Rogers. Shortly afterwards, Robinson resigned from the party in protest at the Anglo-Irish Agreement, she said that unionist politicians in Northern Ireland should have been consulted as part of the deal.