TORONTO - Country superstar Shania Twain had a party for two on New Year's Day as she married her beau in Puerto Rico.

An announcement posted on the singer's website says she and Frederic Thiebaud exchanged vows at sunset in the community of Rincon in front of 40 family members and friends.

The couple confirmed their engagement last month.

The 45-year-old Timmins, Ont., native describes Thiebaud as "a compassionate, understanding friend" who has helped her emerge from 2-1/2 years of emotional turmoil.

Thiebaud is the ex-husband of Twain's former friend Marie-Anne Thiebaud -- the woman who allegedly came between Twain and her first husband, Robert (Mutt) Lange.

Twain and Lange finalized their divorce last year.

In a posting last month, Twain wrote that she has "a renewed faith in love and commitment" and is feeling "optimistic about the future."

"I'm in love! Frederic Nicolas Thiebaud has been a true gift to me as a compassionate, understanding friend and over time, an amazing love has blossomed from this precious friendship," she wrote in a blog entry last month.

The marriage comes as Twain prepares to launch a TV show on Oprah Winfrey's cable channel, OWN, which was launched on Saturday.

"Why Not? With Shania Twain" will feature the songstress opening up about her heartbreak and reveal how she's moving on.

Twain also plans to release a memoir.