William MacGillivray is expected to return to Moncton court on Feb. 24. (Kate Letterick/CBC)

The court case of a Harrison Trimble High School teacher facing sex-related charges has been set over until next month at his lawyer's request.

William MacGillivray, 41, is charged with child luring, sexual exploitation, sexual assault and obstruction involving a girl under the age of 18.

The offences are alleged to have occurred between March and November while MacGillivray was in a position of trust.

MacGillivray, who is also a drama instructor at the school, was expected to elect how he wanted to be tried and to enter pleas in Moncton provincial court on Tuesday.

But his defence lawyer told the court he needs more time to go over the file.

MacGillivray, who was not present, is expected to appear in court on Feb. 24.

He remains released on bail on the same conditions imposed on Dec. 20, except he must now report to police in Miramichi once a week, instead of Moncton police.

MacGillivray also can't be alone with girls under the age of 18 unless with an adult, can't have any contact with the complainant or her family, can't own or possess a device to access the Internet unless it's at work, and must submit to searches by police without a warrant.

Meanwhile, another Harrison Trimble teacher charged with sexual offences is due back in court on Jan. 27.

Kenneth Gunn, 39, of Riverview, is charged with possession of child pornography, sexual exploitation and sexual assault involving two alleged victims, both girls under the age of 18.

The offences are alleged to have occurred between September 2011 and November 2013 while in a position of trust.

Gunn, who is also out on bail, must not be alone with, or in a position of trust with, anyone under the age of 18, and must not use or possess anything that connects to the internet.