PRAGUE—A powerful explosion in the historic center of the Czech capital city was the result of a leaky gas pipe, not a terrorist attack, and there were no deaths from the accident, the city's mayor said Monday.

"It was a gas explosion and from all available information it was not a terrorist explosion," Mayor Bohuslav Svoboda said at a news conference.

Mr....