A Malvern man who died after being hit by a train had intended to take his own life, an inquest has found.

Michael Martin struggled with a gambling addiction and was £70,000 in debt to various loan companies.

The 27-year-old, affectionately known as 'Beans' to family and friends, died on June 24 after being hit by a train at a level crossing in Malvern.

British Transport Police and West Mercia Police officers were called to the level crossing on the morning of June 24 at 9.25am.

READ MORE: Family's tribute to Michael Lawrence Martin

The inquest heard the train, which was travelling at about 70mph, had no chance of stopping in time, assistant coroner Nicholas Lane said.

He also said that a post-mortem found the cause of Mr Martin’s death to be injuries sustained from a collision with a train.

Mr Martin was using cocaine up until the morning of his death and had previously used other drugs including acid.

Mr Martin, who had been living with his stepfather in Malvern, had been employed as a refrigeration engineer in the weeks before his death.

Mr Lane, recording a verdict of suicide, said: “Mr Martin was taking cocaine up until six hours before his death and it is possible that drug use may have played a part in him being stressed before his death.

“And if that figure of £70,000 is anywhere near accurate, that’s a lot of debt for someone who is 27. It is possible his gambling addiction and drug use led him to struggle with his mental health.”

Assistant coroner Nicholas Lane recorded a verdict of suicide when he heard the case at Worcestershire Coroner's Court today (Wednesday).

Speaking after Mr Martin's death, we previously reported Brent Martin, who raised him from the age of four, said he earned his nickname because he was 'full of beans'.

He said: "It is still raw - things won't be the same again.

"It is just so tragic what happened, and we'd like to offer our condolences to the driver too."

Michael was known as "Beans" by friends and family due to his energetic and lively personality and worked as a shop fitter.

The former Dyson Perrins pupil also attended Worcester Technology College and was popular with everyone.

Brent added: "If he came into a room you'd know he was there - he was loud and a really big person and personality.

"We called him Beans because he was literally full of beans.

"He always tried to look after everyone, whether it was me or his mum or his siblings.

"He changed his surname to Martin in honour of me and our family and he loved all of us.

"He took my biological children as his own brothers and sisters and loved all the cousins, aunts and uncles - everyone."

Brent added the family's message for anyone was to talk to their loved ones and friends about however they are feeling and not to feel alone.

Anyone struggling can call 116 123 to speak to Samaritans.

All calls are free and the organisation can also be contacted via email at jo@samaritans.org.

If you need help with gambling, call National Gambling Helpline free on 0808 8020 133.