Bray Wanderers 2 UCD 1
Ireland youth international Conor Murphy scored early and late to get Bray back to winning ways and up to fifth in the table.
Murphy, part of Paul Doolin's Under-19 squad for next week's UEFA Elite Phase qualifiers in Poland, punished a mistake to shot Bray in front on eight minutes after Sean Russell failed to cut out Dane Massey's cross.
UCD responded well, though, and levelled on 20 minutes when Dean Marshall shot home a penalty after he had been hauled down by Bray skipper Gary Dempsey.
Having been second best in the first, Bray utterly dominated the second half.
UCD keeper Ger Barron made a string of top saves before Murphy finally beat him right on 90 minutes when running onto Daire Doyle's pass to sweep the ball to the net.