A college student who took an international flight into New York City and an Amtrak train out of Penn Station last week has been diagnosed with highly contagious measles.

The student was diagnosed at Bard College in Dutchess County, officials said, but had traveled into and out of New York City last Sunday, potentially exposing people beyond the campus.

The student contracted the illness in Germany, then flew in to a New York City airport, before taking the train to Rhinebeck on the same day, officials said. They did not identify which airport the student passed through, but noted the student was in the early stages of infection, when there is less danger of contagion.

Anyone who traveled on Amtrak train no. 283 departing Penn Station at 1:20 p.m. on Jan. 25 is urged to contact their doctor if they're not immune to measles and they develop a fever. The train was headed to Albany and Niagara.

People who may have been exposed and have symptoms consistent with measles should call their doctor or local emergency room before going for care so that others at the facilities aren't exposed.

New York state has had three cases of measles this year, one in Dutchess County and two in New York City.

A measles outbreak in New York City in early 2014 affected dozens of residents, initially in upper Manhattan and the Bronx, and then in Brooklyn and the Lower East Side. Officials had been looking at whether that outbreak may have spread because workers in medical facilities didn't recognize the symptoms quickly enough to isolate patients and prevent them from spreading it to others.

Measles is a highly contagious respiratory disease caused by a virus and is spread by contact with nasal or throat secretions of infected people. Measles can lead to serious side effects and, in rare cases, death. Measles symptoms usually appear in 10 to 12 days, but can occur as late as 18 days after exposure. Symptoms generally appear in two stages.

Learn more about measles at health.ny.gov.