Nearly 1 billion people in Africa will be vaccinated against yellow fever by 2026, the UN said on Tuesday.

The goal is to eliminate the mosquito-borne viral hemorrhagic disease on the continent.

"With one injection we can protect a person for life against this dangerous pathogen," said World Health Organization (WHO) head Tedros Adhanom Ghebreyesus in Nigeria's capital Abuja. "This unprecedented commitment by countries will ensure that by 2026 Africa is free of yellow fever epidemics."

Read more: What you need to know about yellow fever

Yellow fever can spread quickly in dense urban areas.

The Eliminate Yellow fever Epidemics — or EYE strategy — is backed by African health ministers, WHO, the UN Children's Fund (UNICEF), Gavi and more than 50 partners.

Almost half those who will be vaccinated are children.

The mass vaccination plan comes after yellow fever outbreaks in densely population areas of Angola and the Democratic Republic of Congo killed some 400 people in 2016.

The risk of yellow fever outbreaks has increased due to population movements, urbanization and rising mosquito populations in urban areas triggered by climate change.

Read more: Brazil's Rio state to vaccinate population against yellow fever

Yellow fever epidemics occur when infected people bring the virus to heavily population areas with high mosquito density. It can also spread internationally.

According to the UN, efforts to eliminate yellow fever in the past have been successful.

A mass vaccination campaign in West Africa after yellow fever outbreaks in West Africa effectively eliminated the disease there.

There are about 200,000 cases of yellow fever every year, causing some 30,000 deaths, about 90 percent in Africa, according to WHO.