OTTAWA -- They escaped a civil war that has killed hundreds of thousands of people and displaced millions more, leaving behind homes that have been bombed to pieces, their livelihoods and future hopes in tatters.

They fled to Jordan, Turkey, Lebanon -- living in refugee camps, shantytowns and private apartments, trying to figure out their next steps, watching as what they thought would just be a temporary move away from their home country began to look more permanent.

This week, hundreds of Syrians will be on the move again, this time to Canada with the first mass arrival of refugees as part of the Liberal government's commitment to Syrian refugee resettlement.

The first flight, a military plane with 160 people on board, left Beirut on Thursday en route to Germany, where it will make a stop for refuelling and a fresh crew before heading on to Toronto.

A second flight is set to arrive Saturday in Montreal.

All told, about 300 people will arrive in the next few days with a chance to make a home in Canada thanks to private sponsors who've been working for months to prepare for them.

"We have great hopes for the success of this group of people that are arriving and their families as they build their new home here in Canada," said Arif Virani, the parliamentary secretary for immigration.

The sponsors will still have to wait a little while longer to meet their new arrivals.

Border agents, health officials and immigration officers will be on hand when the plane touches down to run the refugees through a battery of tests. They will spend the night in hotels before moving on to their new homes.

Prime Minister Justin Trudeau is planning to be on hand, and he has invited opposition leaders to be there too.

Montreal and Toronto will be home to dozens of such flights in the coming weeks as the government seeks to bring 10,000 Syrians to Canada by year's end, and then a further 15,000 by the end of February.

While Syrian refugees have been arriving with some regularity since the Liberals were sworn into office on Nov. 4, they've arrived on commercial flights. Thursday sees the first government aircraft return from a deployment specific to a program that began as a Liberal campaign promise.

Even when in opposition, the Liberals had called for Canada to increase its commitment to Syrian resettlement, suggesting back in March that 25,000 was the number in their sights; the prior Conservative government had initially pledged to take in 11,300 people by the end of 2018.

But during the campaign, the Liberals put forward a more ambitious goal -- the government would take in 25,000 people itself and work with private sponsors to bring in even more.

They later went further, saying they'd bring in that many people by the end of this year.

Work on that started the very day the Liberals won power, with companies like Air Canada reaching out immediately to see if their planes could be helpful as part of the program. Once the first two military flights arrive, private chartered flights will shuttle the vast majority of the remaining Syrians to Canada.

It wasn't until the Liberals struck a cabinet sub-committee specifically designed to roll out the program that plans began to coalesce -- and one of the first things they heard from their international partners was a plea to reconsider their original year-end deadline.

Together, Jordan, Turkey and Lebanon are hosting close to 3 million of the 4.28 million UN-registered refugees who have fled Syria since the war began there in 2011.

The Liberals also broke their plan down into stages.

To meet the 25,000 goal, about 10,000 would be those who have private sponsors at the ready and in many cases, those files were already in the immigration system because of the previous Conservative commitments. Those would be the cases targeted for settlement by the end of the year; private cases are easier because the support structure is already in place.

Then, a further 15,000 spaces would be reserved for government-assisted refugees with the goal of bringing them in by the end of February 2016.

In recent months, thousands of Syrian refugees have been arriving in Canada but the Liberals are only counting those who've landed since they officially took office on Nov. 4 as part of their commitment.

As of Dec. 7, that number was 416. The government says they have 11,932 applications currently in the system.