The girl, whose parents are poultry traders, developed a fever, sore throat and headache on Thursday. Her condition is said to be stable.
Two people in close contact with the child were quarantined for observation but have shown no symptoms so far.
The UN had recorded 28 cases and nine deaths in China as of Wednesday.
There are no reported cases outside the country, according to the World Health Organization (WHO).
China’s national disease control centre confirmed on Saturday that the girl take ill in Beijing had the H7N9 virus.
The first cases of the virus were reported in February, in eastern China.
According to the WHO, there is no evidence that the H7N9 virus is being transmitted between people, and most cases come from poultry.
International health experts have commended China on its transparency in reporting the spread of the virus, in sharp contrast to its handling of a Severe Acute Respiratory Syndrome (SARS) outbreak in 2003, when 8,096 people were infected worldwide and 744 died.
jal-oQAas0IImage source: Wikimedia Commons President-elect Donald Trump celebrated his election victory at the Ultimate Fighting…
Millions of voters across the US chose to return Donald Trump to the White House…
Donald Trump declares victory in the US election as he addresses jubilant supporters in Florida.…
Stocks around the world are rising as Donald Trump appears to be on the cusp…
Donald Trump has won Pennsylvania, North Carolina and Georgia and taken a lead over Kamala…
Quincy Jones, the celebrated musician and producer who worked with Michael Jackson, Frank Sinatra, Ray…