DOHA/RABAT: Moroccan fans celebrated on Thursday as their country became the only Arab nation to reach the knockout rounds of the first World Cup held in an Arab country, dancing and cheering in the stadium in Qatar and on the streets back home.

Morocco beat Canada 2-1 to finish top of their group in a stadium thronged with their supporters. In earlier matches they had tied with Croatia and scored a surprise win over Belgium, the second-ranked team in the world.

"This team can go all the way in this World Cup!" shouted a young woman draped in a Moroccan flag, leaning from the window of a packed car in Rabat as people rushed towards a central district to join street celebrations.

In Qatar, where the home team along with Saudi Arabia and Tunisia have already been knocked out, Morocco now carries the mantle for an Arab world that has cheered victories by Arab teams against some of the tournament favourites.

Hundreds of fans crowded outside the stadium, some pushing and shoving and others trying to climb a fence to get in even after the game had begun, a Reuters journalist there said. Many lacked tickets but hoped to see the game.

"Fans crowded here because they can't enter the stadium. Almost all these fans have no ticket and they love Morocco and want to get in," said one, Abdulmajid Mohammed, from Saudi Arabia.

The crowding also left some fans who said they had tickets unable to enter. "We have tickets but they closed all the doors and are not letting people in," said Mohammad Abdelhadi from Libya, who said his group's tickets each cost more than $200.

FIFA and Qatar's World Cup organisers, the Supreme Committee for Delivery and Legacy, did not immediately respond to a Reuters request for comment on the crowding outside the stadium.

'DAY OF CELEBRATION'

The deafening support has been a 12th man for the side.

"They proved on the pitch that they are lions... honestly as a Saudi we lost yesterday but we made up for that loss with Morocco's win," said Talal Ahmed Obeid, watching at a fan zone in Casablanca.

While Morocco is a proud member of the Arab League, the country has also in recent decades embraced its African identity and Berber lineage, enshrining Amazigh as an official language.

"We hope to fly the flag of African football high," said Morocco coach Walid Regragui on Wednesday.

Mohamed Tahiri, a lawyer out celebrating in Rabat among crowds waving flags and honking car horns despite the rainy weather, said Morocco was the only team left for Arabs to identify with.

"This is a day of celebration not only for us Moroccans but for all Arabs and for all the Amazigh North Africans too," he said.

People had already been out looking for cafes with televisions to watch the game hours before kick-off.

"My generation is experiencing this for the first time," said Oufae Abidar, 38, a company employee. She was a toddler when Morocco last reached the knockout phase in 1986. Morocco's last World Cup appearance, four years ago, ended in the group stage.

Back in Doha, Omani national Saeed Al Maskari, 30, said he would be supporting Morocco now. "We are in the Asian part (of the Arab region) and they are in the African part. But we speak one language," he said.