A 17-year-old boy accused of murdering a student support officer has claimed that the victim made sexual advances to him.

The boy, who cannot be named, denies murdering 27-year-old Muhammad Amirul Haq, known as Amir.

Press Association reports that a court heard this week that although Mr Haq was “outwardly religious”, he was bisexual and had had a number of male partners.

The boy claimed that Mr Haq had made sexual advances to him on two previous visits to the older man’s house in Poplar, east London.

He added that Mr Haq had threatened to tell people he was gay if he did not comply with sexual activity.

He visited Mr Haq on November 29th to smoke Shisha and admitted taking a knife to the property to ensure that the older man could not “manipulate” him.

The boy said that Mr Haq tried to touch him and he discovered the room to the door was locked. He said he “flipped” when the older man pulled at his flies and took the knife out to “scare him off” before stabbing him once in the chest.

In a prepared statement, he said that the older man held a “high and trusted position in my community” and had threatened to “slur and shame” him. He added that he felt remorse for what had happened.

Prosecutor Victor Temple QC said that the teenager was “not out of control” and that he intended to be “vengeful”.

The case continues.