This agreement led to the end of the violence in Northern Ireland. It was signed in 1998. This involved not only all the political parties in the province but also the Irish and British governments. It gave the Republic of Ireland a small degree of power sharing and everybody born in Northern Ireland the right to be a citizen of the Republic. It also stipulated that the six counties would remain part of the UK as long as a majority of its people wanted it that way.