TORONTO -- A police operation to arrest an alleged murderer involved leaving him locked on a Toronto region transit bus with dozens of passengers for nearly half an hour in what's being described as a "harrowing" experience for those on board.

The incident took place on a GO Transit bus that was pulled over on the side of a major highway late Thursday night.

Anne Marie Aikins of Metrolinx -- the agency that runs GO Transit -- said passengers spent 25 minutes locked inside a GO bus with a man police later took into custody.

Passengers said they heard police inform the man that he was wanted for second-degree murder, Aikins said.

Durham Regional Police confirmed the fact in a statement in which they said Joseph Scott Young was charged with second-degree murder in the death of 19-year-old Tehganni Lewis.

The force has not responded to multiple requests for comment.

Aikins said many of the passengers on board the bus have voiced concerns about how things were handled.

"I'm sure they expected a sleepy ride into the city and instead had a very harrowing experience that clearly is still upsetting them today," she said. "That's really quite unfortunate. Some information would certainly have been helpful to them, but decisions get made and I'm not sure of the rationale for the decision."

Police say the arrest took place on Thursday around 11 p.m. as the bus was travelling from Hamilton to Toronto's Union Station, a major hub for travel in and out of the city. Officers from Ontario Provincial Police and Hamilton police made the arrest on behalf of the Durham force after being informed that Young was wanted on an unrelated assault charge.

Aikins said the bus was driving down a major highway when a number of cruisers appeared and pulled the driver over.

The driver was instructed to get off the bus and lock the door, keeping passengers inside, she said.

Over the next 25 minutes, as more armed officers arrived on scene, Aikins said passengers reported a man acting erratically on board the bus.

They said the man, who they believed to be intoxicated, tried unsuccessfully to get off the bus. When that didn't work, he reportedly sat down at the front of the bus and lit up a cigarette to the consternation of fellow passengers, Aikins said.

Police said Young was ultimately arrested without incident.

Some passengers on board the bus took to social media at the time of the arrest to voice their displeasure with the situation.

"Why lock us in the GO bus for 25 minutes with a man charged with murder, realizing it's gameover..?" one person tweeted.

Young is now facing charges in a slaying that took place last month in an Oshawa, Ont., rooming house.

Lewis, who police said had been staying at the residence for a few nights before his death, was found in the building with undisclosed serious injuries.

He lingered in hospital in critical condition for nearly a week before succumbing to his injuries.

Police say they are no longer seeking any suspects in the case.