The midlanders hit the front thanks to Dean Ebbe's 11th league goal of the season.
Athlone Town have moved to second in the League of Ireland First Division table after victory over UCD last night.
The midlanders took the lead in the first half thanks to a Dean Ebbe penalty, Kyle Robinson doubled that lead on his debut when Athlone were awarded a second penalty midway through the second period.
Dario Castelo's side were made sweat in the closing stages however after Nial Holohan struck for the students in the 82nd minute.
Town held out to move to second in table, their next outing is a midlands derby against Longford next week.
Elsewhere, Cork City continued their march towards automatic promotion to the Premier Division.
They were 3-1 winners away to Wexford.
Longford beat Bray 1-0, it was Finn Harps 1 Kerry 0, and Treaty United were beaten Cobh Ramblers by the same score.
Laois SFC: Killeshin Deliver Knockout Blow To Portlaoise
Westmeath SFC: Moate All Whites Turn Attention To County "Standard Bearers"
Town Continue Rich Vein Of Form With Creditable Students Draw
Offaly SFC: Shamrocks And Tullamore Secure Semi-Final Spots
John Heslin Aiming To Feature For Westmeath Next Season
Westmeath SFC: St Loman's Mullingar And Moate All Whites Progress
Athlone Town Move Closer To Women's Premier Division Title
Alex Dunne Keeps F2 Title Hopes Alive With Spanish GP Podium
I've Great People Around Me - Shane Lowry
Trump To Lift US Tariff On Irish Whiskey After Talks With Shane Lowry
Lowry Breaks Title Drought With Magnificent Irish Open Victory
Shane Lowry Leading The Way At The Irish Open
Alex Dunne Secures Front Row Start For F2 Feature Race In Madrid
Former Golf Coach Stunned With Stuart Grehan Not Competing At Irish Open
Treaty United The Next Test For Athlone Town
Mark McHugh To Remain In Charge Of Westmeath Footballers
Cannonball 2026 Heading For Offaly Today
Westmeath SFC: St Loman's Mullingar Aiming To Push Forward
Laois SFC: Places In The Semi-Finals Up For Grabs