HMCS Haida left its longtime Hamilton dock early Friday morning to undergo nearly $1 million in repairs and upgrades.

The world's last surviving Tribal Class destroyer has been docked at Pier 9 in Hamilton since 2003, and serves as a National Historic Site.

Parks Canada said in a press release that the ship's rehabilitation is part of the effort to protect historic sites and preserve heritage. It's moving a short distance in the harbour to a drydock at Heddle Marine Service Inc, where the repairs will take place.

"This investment will ensure these cherished places are protected and secured for the future," said Parks Canada.

The project is expected to take until December, 2016.

Here are some photos and a video of the Haida's departure at sunrise on Friday.

Haida departure

The nearly 115-metre destroyer was helped away from the dock by two tug boats. (Dave Beatty/CBC)