QUITO, Jan 10 (Reuters) - WikiLeaks founder Julian Assange's name has appeared in an Ecuadorean government database of citizen identification numbers, fuelling speculation that he may have received citizenship from the Andean country.

Assange has been holed up for more than five years in the Ecuadorean embassy in London where he was granted asylum in 2012 to avoid extradition to Sweden over rape allegations.

Swedish prosecutors in May dropped their investigation into the rape allegations, but British police have said Assange would still be arrested if he left the embassy.

Reuters found an entry for "Julian Paul Assange" in Ecuador's Civil Registry, which only includes Ecuadorean citizens. A spokeswoman for the registry declined to comment when asked if Assange had been granted citizenship.

Following reports of the news in Ecuadorean media on Wednesday, Assange tweeted a photo of himself wearing the jersey of Ecuador's national soccer team. Neither he nor his lawyers responded to requests for comment.

Ecuador's Foreign Ministry in a statement said it was seeking to resolve Assange's situation, without making reference to the citizenship issue. The ministry declined further comment.

On Tuesday, Foreign Minister Maria Fernanda Espinosa said Ecuador was exploring mediation to solve the standoff.

Assange, who denies the rape allegations, fears that if he is arrested he will be handed over to the United States to face prosecution over WikiLeaks' publication of thousands of classified military and diplomatic documents in one of the largest information leaks in U.S. history. (Reporting by Alexandra Valencia in Quito and Mark Hosenball in London; Writing by Brian Ellsworth; Editing by Sandra Maler)

Our Standards: The Thomson Reuters Trust Principles.