A downtown Bakersfield street was closed for a few hours and ambulances were diverted from San Joaquin Community Hospital early Monday morning after Bakersfield Police received a report of a suspicious package at the hospital.

The package turned out not to contain any dangerous materials, but authorities weren't taking any chances, the Bakersfield Police Department said in a news release.

The incident began at 1:14 a.m. when a hospital employee found what was thought to be a suspicious package inside a trash can.

A security guard carried the package outside onto 27th Street. The Bakersfield Police Department bomb squad responded and the package was determined not to contain any explosive material, police said.

During the investigation, 27th Street between Chester Avenue and H Street was shut down for approximately three hours. Ambulances were diverted to other hospitals, but the emergency room remained open to patients arriving at the hospital. They were diverted to an alternate entrance with a police escort.

Businesses along the north side of 27th Street were unoccupied and not affected, police said.

There were no evacuation orders and the hospital did not receive any threats.