The soccer team based in the epicenter of the coronavirus pandemic in China is back home, nearly four months after it left for a preseason tour and got stuck abroad.

Wuhan Zall returned home this weekend after the government lifted the last restrictions on movement in the city where the COVID-19 outbreak emerged late last year.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

The nearly 50 members of the squad had been away since Jan. 2, when the team left to begin training for the Chinese league season that was supposed to start in February but was eventually suspended.

The team's preseason started in the Chinese city of Guangzhou, nearly 1,000 kilometers (620 miles) from Wuhan. It was told about 20 days later that it would not be allowed to return to its base because of the coronavirus outbreak. Wuhan ended its 76-day lockdown in early April, allowing people to leave for destinations across China.

Wuhan Zall had already planned a training period in southern Spain, where it arrived in late January. The team's presence near the city of Málaga prompted fear among local residents in the midst of the rapidly spreading outbreak. The team had been away from Wuhan for nearly a month but members of the squad had to be repeatedly tested in Spain before concerns about their condition abated.

None of the squad members tested positive in Spain, but Spanish coach José González said at the time that one of them lost a family member back home because of the virus.

The team went to the Santiago Bernabéu Stadium in Madrid to watch the Spanish league “clásico” between Real Madrid and Barcelona on March 1, which González called a “well-deserved reward" for the team.

The squad was expected to leave Spain in mid-February but had to extend its stay as conditions back home hadn't fully improved. The team was going to stay training in Spain until at least the end of March but plans had to change again after the situation in Europe took a turn for the worse. Spain became one of the hardest-hit countries by the pandemic and Wuhan Zall officials decided it was time to leave.

The team left on March 14, the day the Spanish government declared a state of emergency and said the entire nation would have to abide by lockdown measures to try to contain the spread of the virus. González said at the time that “things were well” in China so it was better to leave Spain as soon as possible.

The team initially went to the city of Shenzen as restrictions in Wuhan remained in place when the team left Spain. Members of the squad had to enter a mandatory quarantine after arriving in China.

The team went to the nearby city of Foshan after the quarantine was over, and it finally returned home to Wuhan on Saturday.