Before the 9th century; in the 7th century, there was an academy of medicine south of Teamhair (Tara) that was burned down by vikings around 860. There are mentions of other universities; larger 'academies' existed but were pretty rare.