A high school music teacher has been sacked after being found guilty of having sex with a student.
The school principal and principal teacher of a high-school musical in Co Mayo have both been charged with one count each of unlawful sexual intercourse and one count of sexual assault of a child.
The two principals are the second staff member charged in connection with the alleged sexual offences.
The charges relate to two separate incidents in the year before the offences took place, on January 13 and December 15, 2015.
A jury was discharged on Friday.
The court heard that the principal teacher was also charged with two counts of unlawful sex with another person in January 2016.
In both cases, the teacher and principal were suspended from the school.
Both teachers pleaded not guilty to the offences and both received conditional discharge orders.
The second teacher is currently suspended from another school.
The case comes after an investigation into allegations of inappropriate behaviour involving two former students in the Co Mayo district.
Two high school students were allegedly subjected to sexual acts in the school, with one of them allegedly having intercourse with the principal.
The first teacher, who is from the same district as the principal, has been placed on leave and has not yet been charged.
The allegations were made to gardaí in December 2015, with the garda chief commissioner later stating that it was not a matter of sexual exploitation.
The principal has since been suspended and has remained on leave.