Stack, as part of his role as Minister for Home Affairs, is widely credited with the creation and administration of the Dáil Courts. These were courts run by IRA in parallel and opposition to the judicial system being run by the British government. The IRA and Sinn Féin was highly successful in both getting the civilian population of Ireland to use the courts and accept their rulings. The success of this initiative gave Sinn Féin a large boost in legitimacy and supported their goals in creating a "counter-state" within Ireland as part of their overarching goals in the War of Independence.