It was a telephone call that tiptoed along one of the most delicate lines of the british constitution. last month, boris johnson picked up the phone to ask prince william whether he could poach one of his most senior courtiers, simon case, to be the new head of the civil service. the 41-year-old had been loaned to downing street to assist with the coronavirus pandemic embedding himself as a key member of the johnson team but was expected to return to work for the future king.

According to officials with knowledge of the conversation, prince william at first resisted losing one of his most trusted confidants, due to his own reliance on case. eventually though, the prince acquiesced and much to the surprise of whitehall case was appointed as the pms right-hand man. little-known outside londons circles of influence, he is now one of the most powerful people in the land.

The fact that johnson was willing to take on the future monarch when it came to hiring case is evidence of the huge importance he pins on rebuilding the british state. after delivering brexit, reforming the civil service is the next major mission for dominic cummings, johnsons chief adviser and pugilistic disrupter, and michael gove, the cabinet office minister overseeing the agenda.

Cummings and gove famously worked alongside johnson to deliver brexit in 2016 in the face of opposition from what they regarded as an out-of-touch, europhile british establishment. the judiciary, the bbc, the house of commons and the house of lords have since felt the wrath of the brexiters. now it is britains vast civil service an army of close to half a million state employees who exist to support the government of the day that is in the line of fire.

In a series of speeches and blogs, cummings has painted a picture of a state machine that is good at back-covering and clock-watching, but desperately poor at project management and his own personal fixation the use of data. in 2019, he derided frequent claims from the establishment that the uk state is a rolls-royce machine as blah, blah. it promotes people who focus on being important, not getting important things done, and it ruthlessly weeds out people who are dissenters, who are maverick and who have a different point of view, he previously lamented in a 2014 lecture. almost no one is ever fired.

Johnson, who became prime minister last year, is now making up for lost time. in an inversion of the tradition that it is ministers who are accountable for mistakes, at least half a dozen senior civil servants have been forced out of their jobs following a year of coronavirus blunders and other policy errors by the government. not a single minister has been sacked. the battle lines have been drawn.

In 1854, charles trevelyan, then head of the treasury, wrote a paper calling for a professional service of permanent governmentappointed on merit, not patronage. since then, the civil service has remained broadly free of party politics. this is the opposite of the us, where a new president ushers in a complete clearout of officials in washington. in the uk, the new prime minister enters number 10 for the first time to be clapped in by those who, only hours earlier, were working for his or her deadliest political rival.

From prisons to schools to managing the economy, almost every aspect of daily life in the uk is influenced by the vast body of civil servants operating behind the scenes. it is these officials who carry out most of the actual work of running the country. with its bureaucratic palaces dotted along whitehall the central london thoroughfare from where an empire was once governed the civil service has a strangely special hold on the british psyche: a small-c conservative organisation that embodies the best and worst of the countrys instincts.

The enduring affection for the 1980s bbc sitcom yes minister, which lampoons the awkward relationship between politicians and the officials who really control events, reflects much of the public attitude towards the wiring of the state. monty python also sent up the stuffy conservatism of the civil service in its ministry of silly walks sketch.

The services love of tradition and resistance to change has created many enemies mainly reforming politicians who find themselves infuriated by its inability to deliver their will. for johnson, cummings and gove, smashing the status quo is essential. rachel wolf, who co-wrote the last conservative manifesto, said in an opinion piece for the telegraph: the government understands that in five years it wont be judged on the way the civil service is designed but on whether it has delivered on its promises. public sector reform is the route to getting there.

While the prime minister does not personally seek a war on whitehall, according to those who know him well, cummings and gove are determined to reform some of the uks best-known and respected institutions. their stated intent is to create a better system to support ministers and help transform a london-centric economy. others fear this is merely a cover that will allow them to entrench power.

There are obvious parallels to donald trumps pledge to drain the swamp of washington dcs political establishment. but whereas the us president primarily seeks to install politically aligned appointees to key roles, the agenda of johnson and cummings is more nuanced. theodore agnew, a minister at the cabinet office, the hub of the civil service, has warned the machine is broken, with a desperate shortage of practical skills and too many urban metropolitan thinkers.

Lead reformers believe the state is still overly dominated by remain-minded officials. as well as bringing in more brexit supporters, their goal is to introduce more experts and scientists with experience of the private sector. cognitive diversity is the new watchword in downing street.

Morale, however, is already low; the service is drained after years of austerity and successive efforts to reform it by closing, merging and opening new ministries. bronwen maddox, director of the institute for government think-tank, says: theyre right in a lot of the problems theyve identified, theyre justified in a lot of their frustrations with the civil service. but im not convinced their solutions are well worked-out enough.

For cummings, shaking up the state is core to his political agenda. it is, he says, one of the main reasons he felt confident about leading the campaign to leave the eu. the fact that [david] cameron, [jeremy] heywood (the most powerful civil servant) et al did not understand many basic features of how the world works is why i and a few others gambled on the referendum, he explained in a blog last summer. we knew that the systemic dysfunction of our institutions and the influence of grotesque incompetents provided an opportunity for extreme leverage.

Cases arrival has been widely taken as a sign that johnson is serious about reform. he was not the frontrunner in the race to succeed mark sedwill, who was abruptly ousted as head of the civil service earlier in the summer after falling out with downing street. in the 15 years since case left academia, he has worked primarily in security and intelligence, including in northern ireland, the 2012 olympic games and at gchq, and served as the private secretary to two prime ministers before heading to kensington palace in march 2018.

Unlike many previous cabinet secretaries, he has not run a major whitehall department. case did not apply for the top job, telling his friends that it was too soon. but the prime minister had other thoughts. he wanted case to be my jeremy a reference to heywood, who as cabinet secretary was an essential aide to several prime ministers before his death in 2018. senior colleagues do not see case as a natural revolutionary but do view him as very political. in other words, well attuned to the desires of his masters.

Johnson chose case to put the cat among the pigeons, according to one well-placed official, who added: hes going to shake it all up. his arrival has been met with intrigue and constant analysis, not least because he is seen as johnsons weapon to deliver reform. who is the defender? who is going to watch our backs? we know they all sit in no 10 slagging off the civil service...will simon defend us? one senior whitehall official asks.

Peter hennessy, the historian and modern-day chronicler of whitehall, oversaw cases doctorate on british intelligence agencies of the cold war period. he believes his former student will be a very good reformer because he understands crown service to his last fibre and he doesnt believe in a politicised civil service. he knows the history of it.

If i was prime minister and i was in a hole, id want him next to me because hes just so good, hennessy adds. hes calm, hes clear, hes thoughtful and he can see the relationship between things. and he has one of those temperaments that doesnt rub up people the wrong way unnecessarily. hes not a softie, hes not a pushover.

Gus odonnell, who was cabinet secretary from 2005 to 2011, says case is very conscious of having to prove himself. simon is self-aware enough to know that this has come too early for him, he says. he has the huge advantage that he starts off with the full confidence of the pm. hes also pretty much unsackable. its like rishi [sunak]: you can get rid of one chancellor but not two.

Senior civil servants, meanwhile, hope that case will deliver reform without bringing down the house. gabriel milland, a former senior civil servant who has worked closely with cummings, says the changes will be major. the civil service imagined that the governments reforms would be limited to the kind theyre used to in the past such as the machine-of-government changes and changing of office plaques. i dont think theyve sensed the scope of what is coming down the tracks.

The three strands to the governments reform mission are already starting to play out. first is the ousting of senior mandarins who are judged to be out of step with no 10s agenda part of the ancien rgime. cummings has said that the idea of a permanent civil service is for the history books.

Downing street has not wasted time. in the most seismic shake-up of whitehall in more than a decade, sedwill is not the only departure. six of the most senior officials running ministries have quit or been pushed out this year the heads of the home, foreign, justice and education ministries, as well as the head of the governments legal service and the services chief executive. some, like jonathan slater at education, found themselves taking the rap for their ministers failings; others, like simon mcdonald at the foreign office, found their jobs had disappeared. allies of the prime minister made it known they were remainers.

Some see this upheaval as a politicisation of the state, an effort to install brexiters and those thought to be more pro-conservative. simon fraser, who was a civil servant for 36 years and permanent secretary at the foreign office until 2015, says the changes are more about loyalty than bringing in new experts. its not that top civil service appointments are becoming political in a party sense as in america, but some of them have been politicised by ministers choosing people who are seen as loyalists while pushing others out.

It is a shift that fraser warns will damage the institution. of course civil servants must loyally implement government policy, but if this becomes a trend it will weaken the objectivity of the civil service, which is still one of the great institutions we have, and mean ministers get less forthright advice.

Helen hayes, labours shadow cabinet office minister, warns that distracted ministers have spent far too much time playing musical chairs behind closed doors instead of focusing on the coronavirus pandemic. more troubling than the unacceptably high turnover of senior staff or incompetent management of the civil service by this government is their lack of transparency and accountability around reform, she says. any competent government would be clear and transparent on their aims and approach to civil service reform, not trying to shroud them in mystery.

Those close to downing street point out that the introduction of fixed terms for permanent secretaries of departments by the 2010-15 coalition government has naturally led to higher turnover. one well-placed tory remarks: im cynical about how any of this is going against the grain of the last 20 years. its evolution not revolution.

Case appreciates that further senior departures will unsettle the whole civil service and that he needs to shore up his own position. he has already formed a triumvirate with the more seasoned tom scholar, permanent secretary at the treasury, and alex chisholm, the civil service chief operating officer. simon knows he has to prove hes not just a no 10 toady, hence why hes teamed up with scholar and chisholm to secure his position, one whitehall insider says. he wants to work with reformers but knows he needs to protect civil servants.

Scholar, in particular, has reason to be relieved at this new partnership. in february, he appeared on a shitlist of civil servants leaked by downing street seen as part of an anti-brexit mandarinate that the pms team wanted out. but the treasurys role in moving swiftly as coronavirus shut down the economy over the past few months has won it new fans in no 10. tom scholar is central, one official notes. in a different world, he would be cabinet secretary.

The second item on the reform agenda is more gradual: an effort to boost recruitment and skills. a better civil service, in the eyes of ministers, is essential for a better country. its failings have been exposed by the coronavirus crisis, where johnson found that pulling the levers of power did not result in immediate action. the foundation for addressing this is in a lecture given by michael gove earlier this summer at the ditchley foundation, a foreign policy think-tank. in it he warned that the structures, ambitions and priorities of the government machine need to change if real reform is to be implemented and to endure.

The sweeping lecture stated that more civil servants should be moved out of london to reflect the full diversity of our united kingdom. gove went on to call for a broader and deeper pool of decision makers, particularly those who better understand why the uk voted to leave the eu in 2016. westminster and whitehall can become a looking-glass world. government departments recruit in their own image, are influenced by the think-tanks and lobbyists who breathe the same london air and are socially rooted in assumptions which are inescapably metropolitan.

How these lofty principles translate into reforms will become clear in a policy paper due in the next couple of months. according to government insiders who have worked on it, there is a great focus on people. theres an emphasis on experts; the need to be more representative of the uk as a whole; and a need for more diversity, says one.

But while most civil servants tend to see diversity through the lens of race and sex, key political figures are focused on diversity of opinions. downing street has a view that theres an obsession with whitehalls approach to the diversity agenda that spills over into politics... the way civil servants have handled black lives matter for example, one government insider says. nobody is in favour of racial discrimination but theres a sense staff are crossing the line into political action under the cover of diversity.

Another insider agrees this will be part of the reforms. in the middle of the pandemic, civil servants were fussing about diversity and inclusion workshops instead of looking at why black people were dying in bigger numbers. no 10 wants that to change.

Cummings has, however, already been embarrassed by missteps in these areas. after last years election, he made a call for weirdos and misfits to apply for jobs at no 10. two of his appointments backfired: andrew sabisky quit as a downing street contractor after a series of controversial comments were uncovered that were alleged to be racist and promote eugenics. will oshea left after writing online comments that suggested police use live rounds on protesters. neither has set back cummings yearning for change.

Gove wants to empower ministerial offices, giving them more policy heft and better access to data something cummings has attempted to do by building a nasa-style mission control centre in the cabinet office building. the white paper argues that ministerial offices need boosting. there is a case for every secretary of state having their own mission control, says one mandarin.

During the coronavirus crisis, it has become apparent to ministers and officials alike that whitehalls use of technology is woefully ill-prepared for both a pandemic and the modern age. there were days when pulling coronavirus data out of public health england was like pulling teeth, says one person present in the meetings.

We were using whiteboards and calculators to tally the positive tests and death numbers. it was a total farce. data and digital is a key weakness and an opportunity for reform, particularly at the government digital service. gds was world-leading 10 years ago. it still has a lot of expertise but needs a reboot for the next decade, another insider says.

Overall, the mission is to shake up the stuffy traditions of whitehall encapsulated by yes ministers sir humphrey appleby, who would sinuously seek to thwart whatever politician he was nominally serving. one supporter of the reforms says it is about inculcating a more experimental, more playful culture that is less scared of failure. johnsons inclination to sack civil servants rather than ministers when things go wrong is, however, not exactly an invitation to officials to take risks.

The johnson government is also keen to tackle a third issue: public appointments. the head of the quasi-government bodies known as quangos wield significant influence in policy areas, from water to broadcasting. during labours 13 years in power, many were led by individuals aligned to the party in an attempt to counteract the apolitical nature of the state.

For johnson and cummings, the desire for change is seen as simply redressing the balance, particularly given what they view as david camerons failure to put more tories into public positions. paul goodman, editor of the conservativehome website, explains there has long been a charge within the party that there is a bias in state institutions against rightwing applicants. it is important for the centre-right to pay as much attention to appointments as the centre-left, he says. there was a very clear pattern of new labour sympathisers being appointed to notable roles, so theres no reason the centre-right shouldnt take a chunk.

Goodmans view is that the british state is impartial but not always neutral and is always going to have a values system of some kind. the departure of that significant cadre of permanent secretaries this year suggests that at the moment these inherent values may not chime with those of johnson. what downing street is saying about reform is not at all exceptional. but what is unusual is having a public tussle about it some senior mandarins have clearly been encouraged out of the door, he adds. there is a world view [in government] that the civil services institutional mindset at the top is ill at ease with the one of this government.

Yet eyebrows have been raised by some of the potential choices for high-profile public bodies. downing street wanted to install two trenchant, divisive figures: charles moore, biographer of margaret thatcher and rightwing commentator, to chair the bbc, and former daily mail editor paul dacre to chair the broadcast regular ofcom. moore later ruled himself out for personal reasons.

The civil service has not reacted well. they are taking the things we are most renowned for and tearing them down, one senior official says. but one ally of johnson said he was determined to push such changes through. these appointments are really important. ive seen the power of these quangos. its absolutely vital for the governments mission to improve their diversity of thought. its about a cultural change dacre and moore are just the start. labour stuffed these bodies with their people; now its our turn.

Most current and former senior mandarins accept the need for change, even if they decry the methods the government is using; one describes the attitude of no 10 as corrosive. what company would say that its crap because we have terrible staff? asks another. it doesnt work. good people will leave.

Those at the heart of the revolution say the picture is more nuanced. individual civil servants are totally aware of the need for change they appreciate the limitations of the civil service. theyre touchy and defensive and institutionally passive-aggressive but they get that the civil service needs more technical and professional skills, says an ally of cummings.

A spokesperson for the cabinet office confirmed an ambitious programme for government reform had been launched earlier this year, which included engaging with staff across the country.

Nick macpherson, who headed the treasury from 2005 to 2016, says that much of the governments agenda is correct but that its promises of more expertise are not being followed up by its actions. the civil service does need to change: it needs more expertise and its management lags the private sector... but experience teaches me to focus on actions rather than words.

Dave penman, head of the fda, the union that represents senior civil servants, reckons that while every government talks about civil service reform, the approach of the johnson government is a marked change. what is different this time, there appears to be a very deliberate policy to break things up and create an instability in the system. they are doing things they dont need to do to effect the changes they want. i dont think its all 4d chess plotted out, some of it is instinctive how theyre treating people in particular. they dont really care about the consequences or relish them.

In his conversations with civil servants, penman says he has never heard them talk about a government like this. he suggests officials are filled with fear about who is going to be sacked next and whether they are being monitored for their loyalty. there is an awful lot of chaos and short-termism. its about who they trust and who is on side its a very trumpian approach.

Yet tories say the end goal is making the civil service better. michael and no 10 have the highest respect for the senior officials around them, they rely on them and rate them extraordinarily highly. our overall impression is there are nuggets of brilliance across whitehall, says a government aide.

Johnson, cummings and gove are three men in a hurry: the next election may not be for another three or four years, but their revolution will have much deeper consequences. with their picks leading whitehall departments, new officials recruited in their image and conservative allies running public bodies, the british state will be smashed and rebuilt in the coming years.

Hennessy warns that moving too quickly risks huge damage to the countrys reputation: youve got to think of it in terms of generations, because its not a quick-fix problem. you might get some ego satisfaction about biffing them and shouting at them and getting headlines all the time, but thats not what the whole point is...youve got to do it without politicising it. because if we politicise the senior civil service, that will be an own goal of national and monumental proportions.

Sebastian payne is the fts whitehall correspondent. george parker is the fts political editor

Follow on twitter to find out about our latest stories first.