The county has existed since 1585, when the Mac Mathghamhna rulers of Airgíalla agreed to join the Kingdom of Ireland. Following the 20th-century Irish War of Independence and the signing of the Anglo-Irish Treaty, Monaghan was one of three Ulster counties to join the Irish Free State rather than Northern Ireland.