BALTIMORE -- Georgetown (5-3, 0-0) used a five-goal run between the third and fourth quarters, then held on to defeat No. 14 Loyola (4-4, 2-1) 13-12 on Wednesday night at the Ridley Athletic Complex.

Senior attack Bo Stafford scored four goals and had two assists and senior attack Reilly O'Connor had four assists to lead the Hoyas to their first win against the Greyhounds since 2007 and their first against a ranked opponent since 2013.

Graduate student Gabriel Mendola won 15-of-28 faceoffs and freshman goalie Nick Marrocco made 12 saves, including six in the first quarter, to earn his fifth victory.

The Greyhounds took advantage of an early Hoya penalty, scoring a man-up goal at 13:19 in the first quarter. They extended the lead on Mike Perkins' goal just over one minute later to take a quick 2-0 lead.

Stafford led the offense early, scoring an unassisted goal at the 11:13 mark to close to within one goal, before Loyola added another. Stafford answered again scoring his second goal of the game with just over nine minutes to go in the first. But the Greyhounds scored the next two goals to put GU in a three-goal hole, 5-2.

Stafford started a three-goal Georgetown run with 15 seconds left in the quarter. Mendola scored on an assist from O'Connor just before the end of the quarter, to make the score 5-4.

O'Connor found freshman midfielder Craig Berge  early in the second quarter to tie the score at five goals apiece. Berge, who finished with two goals and one assist scored again with 5:41 left in the half. Stafford tied his career high, scoring his fourth goal of the game to give GU its first lead, at 7-6.

Loyola's Zach Herreweyers tied the score late in the second quarter with his lone goal, before Romar Dennis put the Greyhounds back in front 8-7 early in the third quarter. Georgetown fell behind by two goals midway through the third as Loyola scored three in a row.

Freshman midfielder Ryan Hursey ended the stretch, scoring on Stafford's assist to bring GU back within one goal with two minutes remaining in the third quarter. Sophomore midfielder Eduardo White continued to build momentum for the Hoyas, scoring with just under a minute remaining in the third to tie the score at nine.

O'Connor recorded his third assist of the day finding sophomore midfielder Devon Lewis just off the crease for the score to put GU in front 10-9. Senior midfielder Joe Bucci added two consecutive goals to close the 5-0 run, giving GU its largest lead of the game 12-9.

Loyola scored a pair of goals within 30 seconds, inside the final six minutes, to close to within one goal.

With the 30-second shot clock turned on, White put an end to the Greyhounds' run, catching the O'Connor feed and scoring with 3:40 left in the game to extend Georgetown's lead to two, at 13-11. Loyola added one more, but GU would win the final faceoff, as Mendola ran down the left sideline as time expired, sealing the Hoyas, 13-12 win.

Georgetown returns home to open conference play with No. 9 Marquette (7-0) on Saturday afternoon at Multi-Sport Field.