A humpback whale carcass has been transported to a landfill facility after it became stranded and died on a Port Kennedy beach.
The nine-metre whale was first spotted swimming close to shore at Long Point on Wednesday morning before it became stranded on a sand bank.
Due to the condition of the whale and its low survival rate if it was to be towed back out to sea, wildlife authorities made the decision to give it a sedative to lessen its suffering.
Sadly, the whale passed away on Wednesday night.
The mammoth operation to remove the carcass got underway on Thursday in a bid to minimise the risk of sharks coming close to shore.
Perth Zoo veterinarians collected biological samples and data from the carcass prior to its removal to better understand the health of the whale and why it may have beached itself.
The whale was wrapped in a cargo net before being dragged down the beach and placed into a waiting truck.
"Thank you to the local community for their cooperation and messages of support," a Department of Biodiversity Conservation and Attractions (DBCA) spokesperson said.
"Whale strandings are often complex and emotional events, and each one provides valuable opportunities to learn and strengthen future response efforts."
A shark alert remains in place for the area as residue from the whale may still attract sharks.
VIDEO: Samantha Martin/Supplied
Construction contract awarded for Kwinana Freeway upgrade
Secret Harbour by-election: Where to vote on August 29
Mandurah man charged over role in alleged sophisticated cybercrime syndicate
Locals urged to look out for man who removed electronic monitoring device
Four charged over brutal Warnbro home invasion allegedly linked to illicit tobacco trade
UPDATE: Sadly the whale has died overnight
City of Rockingham records steep increase in animal cruelty complaints related to untreated medical conditions
Accused dirt bike hoons charged by Mandurah Police
Heavy rainfall, thunderstorms to lash Mandurah down to Busselton