HUD Secretary Ben Carson, right, meets with officials at a Jacksonville housing complex on April 11. (Bob Self/Florida Times-Union via AP)

Housing and Urban Development Secretary Ben Carson was rescued by firefighters from a stuck elevator while touring an affordable housing development in Miami on Wednesday morning.

The secretary was visiting the Courtside Family Apartments as part of a two-day listening tour in the area to learn about the challenges low-income people face finding affordable housing. The Miami Herald estimates Carson was trapped for about 20 minutes.

Alonzo Mourning, the famed former Miami Heat player, was waiting for Carson when he was released. Mourning partnered with Miami’s Housing Trust group to develop the complex in response to the need for more affordable housing in the area; it was funded through a public-private partnership. Michael Liu, the director of Miami-Dade County Public Housing, was also in the elevator.

Carson tweeted about the incident shortly after he was released.