An armed suspect wanted on a rape charge has been taken into custody and all hostages have been 'released and are accounted for', according to police.

Two hostages had been released from the Baltimore Burger King around 3pm Sunday, according to WJZ.

A seven-year-old girl was among the hostages who had been held for several hours at the fast food restaurant, according to police spokesman, T.J. Smith.

An armed suspect wanted on a rape charge has been taken into custody and all hostages have been 'released and are accounted for', according to police

Baltimore Police said the seven-year-old girl was among those being held hostage for several hours at the restaurant

Police spokesman, T.J. Smith said in a news conference Sunday that the armed suspect who allegedly fled from police is wanted on a rape charge

Smith said in a news conference earlier on Sunday that the armed suspect who allegedly fled from police is wanted in connection with a rape that happened within the last 48 hours.

Earlier Sunday, the suspect led police on a vehicle chase before crashing into another vehicle.

The gunman, who has not been identified, then fled by foot holding what police believed to be a handgun into the Burger King in Southwest Baltimore.

Smith said on Twitter that the suspect had refused to pull over after being spotted by officers around 11am.

He said the driver of the other car is being treated for minor injuries.

'Our ultimate goal is to end this peacefully for all parties,' Smith said.

A SWAT team and negotiators are at the scene and police are asking the public to avoid the area between Monroe Street and Washington Boulevard.

A male hostage was released from the fast food restaurant around 2.30pm, according to WJZ.

No injuries or shots fired have been reported.

A SWAT team and negotiators surrounded the restaurant and asked the public to avoid the area. The Burger King (pictured) is located in Southwest Baltimore