Paul McCartney and J.K. Rowling just got promoted, so to speak, in Britain's hierarchy.

Twenty years after he was knighted by Queen Elizabeth II, Sir Paul McCartney is being upgraded with a Companion of Honour award for services to music, alongside J.K. Rowling for her services to literature and philanthropy, in the Queen's Birthday Honours list.

The former Beatle and the Harry Potter author join a raft of heroes, luminaries and other notables being recognized for their contributions to life in Britain.

Britain Honors List

British author J.K. Rowling got a promotion, so to speak, in Britain's hierarchy for her services to literature. (Lefteris Pitarakis/The Associated Press)

"I'm very happy about this huge honour and with the news coming on my birthday weekend and Father's Day, it makes it colossal!" McCartney said.

Others winning recognition included Police Constable Keith Palmer, who was killed as he confronted an attacker with a knife outside Parliament, and Bernard Kenny, a passer-by who tried to protect lawmaker Jo Cox from being stabbed and killed.

Academy Award-winner Olivia de Havilland, who turns 101 next month, also became a dame — as well as the oldest woman to become a dame in this centenary year of the modern-day system. The Gone with the Wind actress was honoured for services to drama.

Ed Sheeran Performs on NBC's Today Show

Singer-songwriter Ed Sheeran was also honoured for his contributions to music and charity. (Charles Sykes/Invision/AP)

Singer-songwriter Ed Sheeran was honoured for services to music and charity while Judy Murray, mother of tennis champion Andy Murray, was honoured for her work for tennis, women in sports and charity.

British honours are awarded at New Year's and on the Queen's official birthday in June. The honourees are chosen by civil servant committees based on nominations from the government and the public. In all, 1,109 people were on the Queen's Birthday Honours list Friday.