David Neligan (1899–1983), known by his soubriquet "The Spy in the Castle", was a crucial figure involved in the Irish War of Independence (1919–21) and subsequently became Director of Intelligence for the Irish Army after the Irish Civil War (1922–23).