Historically, Cavan was part of the western province of Connacht, but was transferred to Ulster in 1584 when Bréifne was shired and became the county of Cavan. In the south, the Lough Sheelin area was part of Leinster until the late 14th century.