A homeowner from Melbourne says he’s “lucky to be alive” after a tram derailed from its tracks after colliding with a car and crashed through his home on Monday evening just about a meter away from where he was sleeping.

The tram derailed after it collided with a car near High Street at Kew located east of Melbourne at around 11:15 p.m., Commander Bob Lanigan from the Metropolitan Fire Brigade said.

Paul Wilson recalled he was lying in his bed when the tram smashed through his house, where he was knocked off his bed and the plaster on the walls began to come down. “I’m starting to feel very lucky … I think I’ve dodged a bullet there,” he said.

Commander Lanigan added that Wilson was lucky to have escaped getting seriously injured, he told ABC News.

“He was awoken by some loud bangs and heard something coming through his front yard,” he said. “It actually impacted his bedroom but he’s OK, just a bit shaken as you’d imagine.”

Investigation of the crash by the police is still ongoing.

Acting Sergeant Greg Moore revealed that the car veered onto the wrong side of the road, which resulted in the tram getting cut and making it go off the rails.

Lanigan said that the woman, who drove the car, sustained minor injuries. “She seems to be okay, no doubt in some shock and knocked about a bit,” he said.

The female driver was taken to the hospital by ambulance while the driver of the tram and two of its passengers were unharmed but shaken up, according to News.com.au.

Emergency crews spent the entire night trying to remove the wreckage from the house.

The police and crews’ services have been detached to the area by gas and electricity. This is after the tram ran over a gas meter and touched overhead wires of another home.