Dublin will play Cork at Croke Park on Saturday evening in the pick of this weekend's All-Ireland SFC preliminary quarter-finals.
The draw, made on RTÉ Radio 1's Morning Ireland, also pitted Ulster champions Donegal with Leinster winners Louth, Down against last year's All-Ireland runners-up Galway, and Munster champions Kerry with Cavan.
Donegal, Down, Dublin and Kerry will have home advantage this weekend.
Group winners Tyrone, Meath, Monaghan and Armagh will meet the winners of the four ties in the quarter-finals.
Kerry take on Cavan on Saturday in Fitzgerald Stadium with a 3.30pm throw-in while on the same day Dublin welcome Cork to Croke Park at 6.15pm as part of a double-header with the Dublin hurlers, who face Limerick at 4pm in their All-Ireland quarter-final.
Galway will take on Tipperary in the other SHC quarter-final at the Gaelic Grounds at 6.15pm.
On Sunday, Down and Galway meet in Pairc Esler at 1.45pm and that will be followed by Donegal v Louth in Ballybofey, which throws in at 4pm.
The four preliminary quarter-finals will be streamed on GAA+. Both hurling quarter-finals and the two Tailteann Cup semi-finals are live on RTÉ television/Player.
Sunday is Tailteann Cup last-four day at Croke Park, Fermanagh facing Kildare at 2pm and Wicklow, who surprised Westmeath yesterday, taking on Limerick 4pm.
All-Ireland Senior Football Championship, preliminary quarter-finals
Saturday, 21 June
Kerry v Cavan, Fitzgerald Stadium, 3.30pm
Dublin v Cork, Croke Park, 6.15pm
Sunday, 22 June
Down v Galway, Páirc Esler, 1.45pm
Donegal v Louth, MacCumhaill Park, 4pm
Tailteann Cup semi-finals
Sunday, 22 June
Wicklow v Limerick, Croke Park, 2pm
Kildare v Fermanagh, Croke Park, 4pm
All Ireland Senior Hurling Championship, quarter-finals
Saturday, 21 June
Limerick v Dublin, Croke Park, 4pm
Galway v Tipperary, Gaelic Grounds, 6.15pm

Watch the All-Ireland Hurling Championship quarter-finals, Limerick v Dublin and Galway v Tipperary, on Saturday from 3.30pm. Follow a live blog on rte.ie/sport and the RTÉ News app. Listen to updates on Saturday Sport on RTÉ Radio 1. Watch highlights on The Saturday Game at 9.15pm
Watch the Tailteann Cup semi-finals, Wicklow v Limerick and Fermanagh v Kildare, on Sunday from 1.30pm. Follow a live blog on rte.ie/sport and the RTÉ News app. Listen to updates on Sunday Sport on RTÉ Radio 1. Watch highlights on The Sunday Game at 9.30pm