In his evidence to the panel, the PE teacher acknowledged that his messages at times were “too friendly and overfamiliar but said he thought it was due to spending 16/17 hours a day with someone”.

It was said that in his written statement, Smith said he had gone through the messages and agreed they were unprofessional and “blurred the lines between what is acceptable and not”.

The girl, who cannot be named for legal reasons, also told the misconduct hearing that on the journey home from the school trip, she told Smith she was going to sleep and he said she could put her legs over him.

It was said that the teacher then “rubbed” and “touched” the pupil’s thigh with his hands, an allegation which Smith “categorically” denied but the panel found proven.

The panel also found that Smith had photographs of the student, bought her a fabric bracelet, and exchanged personal mobile telephone numbers with one or more pupils.

In October 2023, Smith was arrested by the police on suspicion of sexual assault and suspended from the school.

However, in December of that year, the police investigation was closed with no further action.

That month, the teacher resigned from the school, which costs around £18,000 a year for senior students in Year 7 to Year 11.

The panel found the teacher’s conduct “involved serious and repeated failures to maintain proper professional boundaries with a pupil and a failure to act in accordance with safeguarding expectations, requirements and responsibilities”.

The report added: “The panel considered that these matters seriously undermined the standards expected of a teacher and he sought to exploit his position of trust.”

Some of the other allegations made against the teacher were found not proven.

Smith has now been prohibited from teaching indefinitely.

He can apply for the prohibition order to be set aside but not until 2029 and he has a right of appeal at the High Court.