Quick-thinking Queensland residents and police used garbage bins and hay bales in an attempt to trap a massive crocodile that wandered into someone's backyard on New Year's Eve, according to authorities.

The crocodile, which was just under 12 feet long, made himself at home in someone's backyard before moving out towards the front gate to sunbathe, the Queensland Police Department said in a statement.

“Officers and locals initially orchestrated a line of wheelie bins in an attempt to funnel him back towards the water, but it became clear he wasn’t keen to move,” the Queensland Police Department said in a statement. “Perhaps due to a broken navi-gator?”

Officers used hay bales to box the unwanted guest in until wildlife experts arrived to relocate the crocodile.

Police Sergeant Jim Richards told the Australian Broadcasting Corporation that officials plan on taking the to a crocodile farm.

Follow Mary Bowerman on Twitter: @MaryBowerman