Drivers encountered an unusual late night sight in Ayrshire as a helicopter was towed at 6mph along the A77.
Engineering personnel and police were involved in the operation
The Royal Navy search and rescue Sea King broke down at Ayr College on Thursday, where it had been due to take part in a demonstration for students.
A first attempt to tow the aircraft back to HMS Gannet at Prestwick failed when it got a puncture.
It finally reached its base early on Saturday morning after a four-hour journey which began at midnight.
The helicopter was towed by an aircraft tractor from the base with police and engineering personnel on hand throughout the unique journey.
The Royal Navy said the base's operational capability was not affected.
A spokeswoman for HMS Gannet told the BBC Scotland news website: "There are three helicopters on rotation for search and rescue and for training."
She said engineers had begun work on getting the helicopter back into service.