KEY POINTS The Allied Pilots Association said Thursday that it is suing American Airlines to halt service to China amid the coronavirus outbreak.

The union represents about 15,000 American Airlines pilots.

“The safety and well-being of our crews and passengers must always be our highest priority — first, last, and always,” APA President Capt. Eric Ferguson said.

The union that represents American Airlines pilots said Thursday that it’s suing the carrier to halt service to China amid the coronavirus outbreak, which has killed more than 170 people in China and infected more than 8,000 around the world.

The Allied Pilots Association, which represents about 15,000 pilots for the Fort Worth, Texas-based carrier said its suit seeks a temporary restraining order to halt all American Airlines service between the U.S. and China.

American on Wednesday announced it would suspend its Beijing and Shanghai flights from Los Angeles between Feb. 9 and March 27, citing reduced demand because of the coronavirus outbreak, following similar moves by dozens of airlines around the world.

APA’s lawsuit says American still operates approximately 56 monthly flights between Dallas/Fort Worth International Airport and destinations in China. APA President Capt. Eric Ferguson is calling for American Airlines pilots to refuse to fly to and from China.

[To see the latest updates on the coronavirus, visit CNBC’s live blog here.]

“The safety and well-being of our crews and passengers must always be our highest priority — first, last, and always,” Ferguson said. “Due to the known and unknown risks associated with traveling to China right now, concurrent with the filing of our lawsuit, we are directing all American Airlines pilots assigned to flights between the United States and China, other than those on return trips to the United States, to decline the assignment.”

Federal regulations require crew members flying to China to remain on the ground for approximately 32 hours to rest between flights, the APA said.

American and the pilots union are in the middle of contentious contract negotiations, but the union said the suit was a separate safety matter and neither a part of the talks nor would it affect them.

Representatives from American Airlines were not immediately available for comment.

Airlines’ China service cuts have increased as the coronavirus spreads, hurting demand for service to the country. Delta Air Lines said Wednesday it is cutting flights to China in half starting Feb. 6 through April 30 as the coronavirus spreads, driving down demand for flights to the country. United Airlines on Tuesday announced it is canceling dozens of China flights next month because of a “significant decline in demand” for service, and announced more cuts on Thursday. British Airways, Cathay Pacific and Lufthansa have also slashed or reduced service.

“While the additional cancellations are based on passenger demand, it will also mitigate the health risk to passengers and crews,” the Association of Flight Attendants, which represents United’s cabin crew, said in a statement Thursday. “We encourage all airlines to follow United’s lead. Together, we can keep people safe, eliminate this public health threat, and more quickly return the industry to full operation.”

Global Health Emergency

On Thursday, the World Health Organization declared the fast-spreading coronavirus a global health emergency — a rare designation that helps the international agency mobilize financial and political support to contain the outbreak.

The announcement came hours after the U.S. confirmed its first human-to-human transmission of the virus, which has killed at least 171 people in China and has now spread to at least 18 other countries.

“Over the past few weeks we have witnessed the emergence of a previously unknown pathogen that has escalated into an unprecedented outbreak,” WHO Director-General Tedros Adhanom Ghebreyesus said during a news conference at the organization’s Geneva headquarters on Thursday. “We must act together now to limit the spread.”

There are more than 12,100 suspected cases in China, on top of the more-than 8,100 that have already been confirmed in the country, according to WHO and China state media data released Thursday. Although the coronavirus doesn’t appear to be as deadly as SARS, which had a mortality rate of about 10%, it is spreading significantly faster. The WHO data shows there are roughly 1,400 people in China who are severely ill.

The illness produces a range of symptoms, with about 20% of the patients developing severe illnesses, including pneumonia and respiratory failure, Tedros said. WHO officials said it’s transmitted through human contact, in droplets through sneezing or through touching germs left on inanimate objects.

WHO doesn’t enact global health emergencies lightly. The international health agency has only applied the emergency designation five times since the rules were implemented in the mid-2000s. The last time WHO declared a global health emergency was in 2019 for the Ebola outbreak in eastern Congo that killed more than 2,000 people. The agency also declared global emergencies for the 2016 Zika virus, the 2009 H1N1 swine flu, and the 2014 polio and Ebola outbreaks.

CNBC’s Leslie Josephs contributed to this report.

This story first appeared on CNBC.com. More from CNBC: