The remaining battle between Kelsey Grammer and his ex-wife Camille Grammer has finally come to an end.

Camille had filed for divorce from Kelsey in July, 2010 and the divorce became final in February, 2011. But the former couple's issues did not end there. The couple had to continue going to court for almost two years afterward to settle their custody and property agreements. The couple fought over three homes they own together and $60 million in assets.

According to TMZ, Kelsey tried to have their Beverly Hills home taken off the market so he could live in it but Camille objected to it.

In their most recent court date, Camille scored a major win in the case because now the property can be either sold or leased and they can split the profits from the sale. It is on the market for $15,995,000.

The "Real Housewives of Beverly Hills" star filed for divorce from the "Frasier" star after 13 years of marriage because she had learned that he was having an affair with British flight attendant Kayte Walsh. The "Cheers" star tied the knot with Walsh, his fourth wife, in February 2011, two weeks after his divorce from Camille was finalized. In July 2012, Kelsey's new wife gave birth to baby girl Faith.

Since Kelsey's split from Camille, he has openly griped about his ex-wife. He told Oprah Winfrey that he thought he owed her "fame" and got her a spot on "The Real Housewives of Beverly Hills" because she'd "given up so much to endure this life with me."

The "Boss" star also told Winfrey in an interview, which aired on Sunday, Aug. 26, that he knew his third marriage with the former Playboy model was over before the divorce. 

"You already knew your marriage was over, it had already gone on too long, according to you, because it was over when it started and it was a facade," Winfrey replied to Grammer's remarks. "But you lacked the courage to come home and say something."

"Yeah, I did. And I did believe that I owed something to that person, that I owed fame," Grammer said, referring to Camille. "She had given up so much to just endure this horrible life she had with me."

Kelsey and Camille have two young children together -- daughter Mason, 11, and son Jude, 8.