An airplane carrying Norway’s King Harald V departed Malaysia on Sunday, a day after he was implanted with a pacemaker.

Europe’s oldest reigning monarch was hospitalized for an infection during a private vacation on the northern resort island of Langkawi, the royal house said Tuesday.

He underwent surgery at the Sultanah Maliha Hospital on Saturday to implant a temporary pacemaker due to a low heart rate, according to the royal house.

Norwegian media outlets said Harald traveled to Malaysia with his wife, Queen Sonja, to celebrate his 87th birthday.

A Scandinavian Airlines medical evacuation plane, which took off from Oslo on Thursday, arrived in Langkawi on Friday. The Boeing 737-700 aircraft has previously been used as a flying ambulance.

According to Flightradar24, the same plane departed from Langkawi on Sunday headed for Sharjah in the United Arab Emirates, from where it is scheduled to travel onward to Norway.

The Norwegian royal house confirmed Sunday that the monarch has left Malaysia and the plane is expected to arrive in Oslo early Monday.

“Upon arrival in Norway, His Majesty will be admitted to the [Oslo] hospital Rikshospitalet,” the royal palace said, adding that Harald would remain on sick leave for the next two weeks, during which Crown Prince Haakon will assume the monarch’s duties.

According to Norwegian news agency NTB, which cited information from Prime Minister Jonas Gahr Støre, the king’s transport back to Norway will cost an estimated 2 million Norwegian kroner ($190,000), which will be taken from the defense budget.

The aging Norwegian monarch has suffered from frail health over the past few years, and has been admitted to a hospital for treatment on numerous occasions. Harald, who has been seen using crutches, had an operation to replace a heart valve in October 2020 after being hospitalized with breathing difficulties.

Harald has repeatedly said he has no plans to abdicate, unlike his second cousin Queen Margrethe II of Denmark, who stepped down earlier this year.

Harald’s duties as Norway’s head of state are ceremonial and he holds no political power. He ascended to the throne following the death of his father, King Olav, in 1991.