Wikileaks founder and editor-in-chief Julian Assange sent an open letter to French President François Hollande asking for asylum, but the request was almost immediately rejected.
The letter was published in French newspaper Le Monde Friday. Assange wrote, "By welcoming me, France would carry out a humanitarian and symbolic gesture, sending encouragement to every journalist and whistleblower."
Assange said his life is in danger, but in its rejection, Hollande's office said, "Mr. Assange's situation presents no immediate danger."
Ecuador granted Assange political asylum in 2012 and he has been living in the country's London embassy for the past three years.
Assange has been accused of sexual assault in Sweden, and there is a warrant for his arrest in Europe, but he has denied the allegations. He says they are part of an attempt to extradite him to the U.S.
Assange says the U.S. wants to charge him for publishing sensitive documents on Wikileaks that were leaked to him by Chelsea Manning, who is in prison for violating the Espionage Act. Assange has not been charged with a crime in the U.S., and there hasn't been an extradition request.
France says Assange isn't in danger, denies asylum request
WikiLeaks founder Julian Assange makes a speech from the balcony of the Ecuadorian Embassy, in central London, Britain February 5, 2016. REUTERS/Peter Nicholls/Files
A supporter of Wikileaks founder Julian Assange holds a banner outside the Ecuadorian embassy in London as he marks three years since Assange claimed asylum in the embassy on June 19, 2015. WikiLeaks founder Julian Assange clocks up three years inside the Ecuadoran embassy in London today, after claiming that Swedish prosecutors cancelled a landmark meeting in his case earlier this week. AFP PHOTO / JUSTIN TALLIS (Photo credit should read JUSTIN TALLIS/AFP/Getty Images)
A supporter of Wikileaks founder Julian Assange holds banners outside the Ecuadorian embassy in London as he marks three years since Assange claimed asylum in the embassy on June 19, 2015. WikiLeaks founder Julian Assange clocks up three years inside the Ecuadoran embassy in London today, after claiming that Swedish prosecutors cancelled a landmark meeting in his case earlier this week.
AFP PHOTO / JUSTIN TALLIS (Photo credit should read JUSTIN TALLIS/AFP/Getty Images)
Julian Assange, Founder and Editor-in-Chief of WikiLeaks speaks via video link during a press conference on the occasion of the ten year anniversary celebration of WikiLeaks in Berlin, Germany, October 4, 2016. REUTERS/Axel Schmidt TPX IMAGES OF THE DAY
WikiLeaks founder Julian Assange appears on screen via video link during his participation as a guest panelist in an International Seminar on the 60th anniversary of the college of Journalists of Chile in Santiago, Chile, July 12, 2016. REUTERS/Rodrigo Garrido
File photo dated 05/02/16 of WikiLeaks founder Julian Assange, who will publish more confidential documents on the US Central Intelligence Agency once a "key attack code" has been disarmed, he has revealed.
File photo dated 5/2/2016 of Julian Assange who has defended the release of emails by WikiLeaks about US presidential candidate Hillary Clinton.
WikiLeaks founder Julian Assange speaking from the balcony of the Ecuadorian Embassy in London where he has been living for more than three years after the country granted him political asylum.
BERLIN, GERMANY - OCTOBER 4: WikiLeaks founder Julian Assange participates via video link at a news conference marking the 10th anniversary of the secrecy-spilling group in Berlin, Germany on October 4, 2016.
(Photo by Maurizio Gambarini/Anadolu Agency/Getty Images)
The Spanish journalist Ignacio Ramonet presents in Quito, Ecuador, on June 23, 2016 the Ecuador 's book " When Google found Wikileaks". Julian Assange made his appearance to the world in 2010 with the publication by WikiLeaks of thousands of secret documents revealing conspiracies , corruption, crimes , lies, and incriminate several governments and particularly the United States as the main actor illegalities. (Photo by Rafael Rodrï¿½uez/ACGPHOTO/NurPhoto via Getty Images)
LONDON, ENGLAND - FEBRUARY 05: Wikileaks founder Julian Assange prepares to speak from the balcony of the Ecuadorian embassy where he continues to seek asylum following an extradition request from Sweden in 2012, on February 5, 2016 in London, England. The United Nations Working Group on Arbitrary Detention has insisted that Mr Assange's detention should be brought to an end. (Photo by Carl Court/Getty Images)
LONDON, ENGLAND - FEBRUARY 05: A panel of WikiLeaks representitives and press look on as WikiLeaks founder Julian Assange speaks at a press conference at the Frontline Club via video link from the Ecuadorian Embassy in London on 5 February 2016 in London, England. Mr Assange's speech comes a day after it was announced that the UN panel ruled he was being unlawfully detained at the Ecuadorian Embassy. (Photo by Chris Ratcliffe/Getty Images)
Australian founder of whistleblowing website, 'WikiLeaks', Julian Assange speaks to media after giving a press conference in London on July 26, 2010. The founder of a website which published tens of thousands of leaked military files about the war in Afghanistan said Monday they showed that the 'course of the war needs to change'. In all, some 92,000 documents dating back to 2004 were released by the whistleblowers' website Wikileaks to the New York Times, Britain's Guardian newspaper, and Germany's Der Spiegel news weekly. Assange also used a press conference in London to dismiss the White House's furious reaction to the disclosures. AFP PHOTO/Leon Neal (Photo credit should read LEON NEAL/AFP/Getty Images)
MELBOURNE, AUSTRALIA - MAY 21: (AUSTRALIA OUT) Wikileaks founder Julian Assange poses during a portrait shoot on May 21, 2010 in Melbourne, Australia. (Photo by Mark Chew/Fairfax Media/Fairfax Media via Getty Images).