A primary school teacher killed herself and left a note addressed to the coroner saying "I've simply had enough of living", an inquest heard.
Lucy Meadows was found dead in a cupboard under the stairs at her home on Ramsbottom Street in Accrington.
The St Mary Magdalens teacher, 32, had recently undergone a gender transition and had formerly been known as Nathan Upton.
Coroner Michael Singleton was highly critical of press coverage of the teacher's gender transition before Christmas.
Police found several sealed handwritten envelopes, a last will and testament and a note left to the coroner explaining why she had taken her own life.
In the note she said: "I'm not depressed or mentally ill in some way. I may have different world views to others to the point that some may not accept this as a rational act but this is right for me.
"All the things I have ever wanted to accomplish I have done. I have no regrets other than leaving behind those who are dear to me and for causing them any pain in doing so for which I'm truly sorry.
"I would like to thank everyone who's had an influence on my life. I wish you all the best."
Miss Meadows' body was discovered by Robert Cunliffe, the new partner of her former wife Ruth Smith, on Tuesday, March 19.
Miss Smith told the inquest how she went round to her house after Miss Meadows did not answer the phone.
She said: "On the inside door which I could see through the glass there was a sign that said 'warning' on the top.
"It said she committed suicide and there was high amounts of carbon monoxide in the air and not to enter."
Miss Smith, who is also a teacher, told the inquest how Miss Meadows had tried to take her own life a month earlier and also tried to commit suicide on March 12 calling it an 'experiment'.
She added: "We had her living with us to try and convince her that there was a reason not to do it.
"I asked her why and she said there was not enough to keep her here."
Miss Smith also told the inquest how Miss Meadows was 'annoyed' after press articles before Christmas about her gender transition and the intrusion into their lives.
The inquest heard how Miss Meadows had been referred to psychosexual therapist Zoe Hargreaves in July 2010 to discuss her issues concerning gender.
In a statement read to the inquest, she said at their last appointment on January 14 Miss Meadows was 'quite distressed' regarding the media coverage of her transition from male to female in her role as a teacher.
She said Miss Meadows had found the matter 'very stressful' but was distracted by the death from a terminal illness of someone with whom she had fallen in love.
Coroner Mr Singleton ruled that Miss Meadows killed herself and the cause of death was cardio respiratory failure due to carbon monoxide toxicity.
He said: "I am satisfied beyond all reasonable doubt that in acting in the way she did that Lucy Meadows killed herself."