The coronavirus pandemic reached the presidential palace in Afghanistan’s capital, where at least 20 people working for President Ashraf Ghani have tested positive, two government officials said Sunday.

Mr. Ghani, 70 years old, has limited his in-person meetings to key staff members and he has been doing much of his work via videoconference. On Sunday, Mr. Ghani’s spokesman posted photos on Twitter of the Afghan president meeting via videoconference with top government officials.

The officials wouldn’t say if Mr. Ghani had been tested for the coronavirus or if he was believed to be at increased risk of exposure.

“The president is following health guidance of the Ministry of Health,” said one of the officials.

Afghanistan has nearly 1,000 positive cases of the virus, with 33 deaths. While the country has conducted about 7,000 tests, limited access to testing is a challenge for Mr. Ghani’s administration. The government has locked down major cities, including the capital of nearly six million people. Afghanistan shares a border with Iran, one of the first centers of the pandemic outside of China, and Kabul has worked to contain the spread across the country.