Prince Henrik, the French-born husband of Danish monarch Queen Margrethe, died late Tuesday at the age of 83. The Danish Royal Family announced Henrik was diagnosed with dementia last year and was hospitalized late last month with a lung infection.

“His Royal Highness Prince Henrik died on Tuesday, February 13, at 23.18 quietly at Fredensborg Palace,” the royal family said in a statement. “The Prince was surrounded by Her Majesty the Queen and their two sons.”

Henrik, who was unhappy with the title of prince consort and had expressed frustration for not being the social equal to his wife and their son in line to become the Denmark king, was diagnosed with pneumonia at the end of January while he was traveling in Egypt. After he was rushed back to Copenhagen, doctors revealed he had a tumor in his left lung. A biopsy later confirmed it was benign, but he contracted an infection leading to a worsened health condition.

On Tuesday, Henrik was moved from a Copenhagen hospital to the family’s residence north of the capital, “where he wishes to spend his last moments,” the royal palace said.

In 2017, Henrik was admitted to the hospital several times before being diagnosed with dementia in September.

Henrick married Queen Margrethe II in June 1967 in Copenhagen and have two children — Crown Prince Frederik, 49, and Prince Joachim, 48.

The prince made headlines for his displeasure with the title he was given after marrying Queen Margrethe. Henrik thought it was unfair he was made prince concert instead of king concert. According to traditions, men married to female monarchs get the title of prince consort, not a king.

“My wife has decided that she would like to be Queen, and I’m very pleased with that,” he said in 2016. “..But as a person, she must know that if a man and a woman are married, then they are equal. My wife hasn’t shown me the respect an ordinary wife should show her spouse.”

The Danish royal family is one of the world’s oldest kingdoms but does not have any political authority.

Last August, Henrik was embroiled in a controversy after he announced when he died he didn’t want to be buried next to Margrethe in the cathedral where the remains of Danish royals rest for centuries. The queen already had a designed-just-for-them sarcophagus at Roskilde Cathedral in Denmark. It remains unclear where he would be buried.

“If she wants to bury me with her, she must make me a king consort,” he told magazine Se og Hør. “Finished. I do not care.”