AMMAN, Jordan — Security forces pulled the bodies of three suspected militants from the wreckage of a building in a central Jordanian city on Sunday following a shootout in which four security personnel were also killed, the government said.

In a huge security operation, Jordanian forces laid siege to the building in a residential part of the city of Salt on Saturday night in search of those responsible for a bomb attack on a police van on Friday.

The police vehicle had been maintaining security near a music festival in the majority Christian town of Fuhais, near the capital, Amman, and about 10 miles from Salt.

Four security personnel were killed during the operation after the suspected militants sought sanctuary in the multistory building in Salt, the government said.