Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

A federal housing official's monthlong tour of New York City public housing complexes hit a speed bump when she got stuck in an elevator Tuesday.

Lynne Patton and 10 other people including reporters and photographers were trapped in an elevator at the Frederick Douglass Houses in Manhattan for about 10 minutes when someone accidentally hit the alarm switch. The group had to be freed by firefighters.

"Thank you, New York's Bravest! Sadly, NYCHA residents — elderly & disabled — endure this type of debilitating systematic failure on a regular basis," Patton later posted on Facebook , using the acronym for the New York City Housing Authority.

Regional Housing and Urban Development Administrator Lynne Patton, from right, accompanied by New York State Sen. Brian Benjamin use stairs after being trapped in a stalled elevator in the Douglas Houses, in New York on Feb. 19, 2019. Richard Drew / AP

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

Patton, the New York-New Jersey regional administrator for the Department of Housing and Urban Development, is spending four weeks living in four different NYCHA complexes.

She spent last week at the Patterson Houses in the Bronx, where she joined an aerobics class and used an obscenity to describe the dilapidated state of some apartments.

She later posted on Twitter, "I don't mince words & I'm not going to sugarcoat @NYCHA's failures."

Tuesday's stalled elevator turned out to not to be a product of systemic failure. NYCHA spokesman Michael Giardina said someone in the crowded elevator accidentally hit the alarm switch. "There was no mechanical failure, and staff were on site immediately to help everyone out after a few minutes," Giardina said.

Patton's day at the Douglass Houses also included visits to several apartments and a senior center.

The NYCHA stays come after HUD Secretary Ben Carson and Mayor Bill De Blasio announced a deal that averts a federal takeover of the housing authority. Under the agreement, HUD will appoint a federal monitor to oversee the authority but will stop short of taking over full control through receivership.

The housing authority's 400,000 residents have long endured problems including vermin, mold and heat and hot water outages.

Authority chairwoman Shola Olatoye resigned last year after an investigation found that lead paint inspection reports had been falsified for years.

De Blasio, a Democrat, has blamed the authority's woes on lack of funding from the federal and state governments as well as previous mayoral administrations. But Patton blamed "gross mismanagement" in a Facebook post.

Patton, an event planner best known for her work on the wedding of Trump's son Eric, was widely criticized as unqualified when the president appointed her to the HUD job.