HONOLULU — Honolulu officials completed the final sweeps of what was one of the largest homeless encampments in the nation, tearing down structures that had been home to some for over a year.

The final push to clear out the Kakaako homeless camp, just steps from the Pacific Ocean and not far from Waikiki, ended Friday amid a chaotic scene of people trying to gather their belongings before they were taken away by officials.

People dragged items away from their makeshift homes while police cars blocked off one of the streets of the encampment. Families waited with their belongings in a nearby park, some hoping to go to a shelter, but when the sprinklers in the park turned on, they had to move.

“We just want to make sure folks know the park is not a place for people to live,” said Lindsay Doi, a spokeswoman for the Hawaii Community Development Authority, which manages the park. “It’s a place for the public to enjoy.”