A water main break Friday morning left Downtown Pittsburgh government buildings without water and heat, forcing the closure of several major city and county offices, officials said.

The Allegheny County Courthouse, the County Office Building, the City-County Building and the County Health Department building were all closed, according to Allegheny County officials.

The county sheriff’s office; the family law center; and the criminal, family and civil divisions of the Court of Common Pleas were all closed. Court operations in the Manor Building were also closed.

Orphans’ Court, Pittsburgh Municipal Court and all Magisterial District Courts in the county were still open. The courts advised anyone seeking an emergency protection from abuse order to obtain them from arraignment court at 660 First Ave.

People who had arrangements for any of the closed offices — such as real estate and civil processes, obtaining marriage licenses, gun licenses or other permits — were asked to reschedule their plans.