Des Hasler has signed a new deal with Canterbury Bulldogs that will keep him in his position as head coach of the NRL club until 2019.
Speculation surrounding Hasler's future had rumbled on for weeks, and his job came under further scrutiny following a 36-0 drubbing at the hands of former club Manly Sea Eagles late last month.
But the Bulldogs moved decisively on Monday, announcing that Hasler had agreed an extension of his contract.
"Des is a proven coach. His record over the years shows that and we are extremely pleased that negotiations have resulted in Des remaining at the club until the end of the 2019 season," said Bulldogs chief executive Raelene Castle.
"I have been extremely happy here at the Bulldogs," added Hasler. "The club has great history and tradition and an incredibly loyal fan base.
"I am pleased that I have been able to reach an agreement with the club to extend my contract until the end of 2019."
Hasler led Manly to two Grand Final successes, in 2008 and 2011, before moving to the Bulldogs for 2012.
Since then the Bulldogs have reached two Grand Finals but lost both - to Melbourne Storm in Hasler's first year and to South Sydney Rabbitohs in 2014.