A painter in a boom truck had to be rescued in Moncton after the bucket he was in malfunctioned and flipped, leaving the man gripping the bucket and secured by his safety harness five storeys in the air.

Moncton Fire Chief Eric Arsenault said the man was painting the upper levels of city hall on Monday morning. Photos taken at the scene appear to show the bucket has flipped about 90 degrees.

When firefighters first arrived at the scene they tried to reach the man with a 75-foot (about 23-metre) ladder truck, which brought the ladder close, but not close enough for the rescue crew's liking.

Moncton boom truck bucket rescue

The first rescue attempt with a ladder truck couldn't get close enough, so firefighters moved in a 31-metre aerial platform. (Courtesy Gilles Allain )

‚Äč "It would have been very dangerous," Arsenault said.

Because the man was secured in the harness, firefighters decided to wait for a truck with an aerial platform that could reach about 31 metres. It took rescue crews between 20 and 30 minutes to reach him, Arsenault said. 

"He had the proper restraint device on him but he was in a risk of falling out of the bucket so he had to hold on for quite a length of time," he said.

The man was not injured, and was released after being checked on by paramedics.

The City of Moncton has contacted WorkSafeNB to report the incident.