Avril Lavigne and Chad Kroeger announced their separation on Lavigne’s Instagram account on Wednesday, vowing to remain “the best of friends.”

The couple’s whirlwind romance began in March 2012, when Kroeger was enlisted to help with the songwriting on Lavigne’s self-titled fifth record.

They began dating in July, became engaged in August, and married the following Canada Day at a grand medieval castle in France.

Over the last year, both Canadian rockers have dealt with health issues.

Lavigne, 30, conceded she was dealing with illness in December and clarified in May that she had been diagnosed with Lyme disease.

Kroeger, 40, had to recently cancel Nickelback tour dates in North America and Europe because the Hanna, Alta., singer required surgery for a cyst on his larynx.

Lavigne’s Instagram statement, which was accompanied by a photo of the couple dancing, referenced their shared musical accomplishments.

Kroeger co-wrote 10 tracks on Lavigne’s last album, produced three and co-produced four. Their duet, “Let Me Go,” hit No. 12 on the Canadian chart and also made the Top 100 in the U.S., Australia and Germany.

“It is with heavy heart that Chad and I announce our separation today,” wrote the Napanee, Ont., native.

“Through not only the marriage, but the music as well, we’ve created many unforgettable moments. We are still, and forever will be, the best of friends, and will always care deeply for each other.

“To all our family, friends and fans, thank you sincerely for the support.”

It was the second marriage for Lavigne, whose four-year union with Sum 41 rocker Deryck Whibley ended in 2010.

Lavigne and Kroeger were never shy about publicizing their romance, including a memorable Howard Stern interview during which the duo shared intimate details of their sex life.

A year ago, Us Weekly and other tabloids reported that the relationship was over.

But Kroeger would laugh off those reports, and in November he told The Canadian Press that Lavigne was a “great sounding board” as he was developing songs for Nickelback’s most recent record, “No Fixed Address.”

He also made repeated references to “the wife,” and her teasing him about turning 40.

“It’s not so bad, when you’re happy,” he said of the milestone birthday.

“I got a great gig; I get to play music for a living. And I’m married, so turning 40 is no big deal.”