After the Confederates rejected the peace deal, Ormonde handed Dublin over to a parliamentarian army under Michael Jones. The Confederates now tried to eliminate the remaining parliamentarian outposts in Dublin and Cork, but in 1647 suffered a series of military disasters. First, Thomas Preston's Leinster army was destroyed by Jones's parliamentarians at the Battle of Dungan's Hill in County Meath. Then, less than three months later, the Confederates' Munster army met a similar fate at the hands of Inchiquin's parliamentarian forces at the battle of Knocknanauss.