The partition of Ireland in 1922 turned the boundary with County Fermanagh into an international frontier. Henceforth Bundoran's only railway link with the rest of the Irish Free State was "via" Northern Ireland, and as such was subject to delays for customs inspections. The Government of Northern Ireland closed much of the GNR network on its side of the border in 1957, including the E&BR as far as the border. This gave the Republic no practical alternative but to allow the closure of the line between the border and Bundoran. Thereafter the nearest railheads for Bundoran were in the Republic and Omagh in Northern Ireland, until in 1965 the Ulster Transport Authority closed the line through Omagh as well.