<P> The tournament consists of two parts, the qualification phase and the final phase (officially called the World Cup Finals). The qualification phase, which currently take place over the three years preceding the Finals, is used to determine which teams qualify for the Finals . The current format of the Finals involves 32 teams competing for the title, at venues within the host nation (or nations) over a period of about a month . The World Cup Finals is the most widely viewed sporting event in the world, with an estimated 715.1 million people watching the 2006 tournament final . </P> <P> Morocco have qualified for the final stages of the FIFA World Cup on five occasions . </P> <Table> <Tr> <Th_colspan="9"> FIFA World Cup record </Th> </Tr> <Tr> <Th> Year </Th> <Th> Round </Th> <Th> Position </Th> <Th> Pld </Th> <Th> </Th> <Th> </Th> <Th> </Th> <Th> GF </Th> <Th> GA </Th> </Tr> <Tr> <Td> 1930 to 1958 </Td> <Td_colspan="8"> Did Not Enter </Td> </Tr> <Tr> <Td> 1962 </Td> <Td_colspan="8"> Did Not Qualify </Td> </Tr> <Tr> <Td> 1966 </Td> <Td_colspan="8"> Withdrew </Td> </Tr> <Tr> <Td> 1970 </Td> <Td> Group Stage </Td> <Td> 14th </Td> <Td> </Td> <Td> 0 </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> 6 </Td> </Tr> <Tr> <Td> 1974 to 1982 </Td> <Td_colspan="8"> Did Not Qualify </Td> </Tr> <Tr> <Td> 1986 </Td> <Td> Round of 16 </Td> <Td> 11th </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> </Td> </Tr> <Tr> <Td> </Td> <Td_colspan="8"> Did Not Qualify </Td> </Tr> <Tr> <Td> 1994 </Td> <Td> Group Stage </Td> <Td> 23rd </Td> <Td> </Td> <Td> 0 </Td> <Td> 0 </Td> <Td> </Td> <Td> </Td> <Td> 5 </Td> </Tr> <Tr> <Td> 1998 </Td> <Td> Group Stage </Td> <Td> 18th </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> </Td> <Td> 5 </Td> <Td> 5 </Td> </Tr> <Tr> <Td> 2002 to 2014 </Td> <Td_colspan="8"> Did Not Qualify </Td> </Tr> <Tr> <Td> 2018 </Td> <Td_colspan="8"> Qualified </Td> </Tr> <Tr> <Td> 2022 </Td> <Td_colspan="8"> To Be Decided </Td> </Tr> <Tr> <Td> Total </Td> <Td> Round of 16 </Td> <Td> 5 / 21 </Td> <Td> 13 </Td> <Td> </Td> <Td> </Td> <Td> 7 </Td> <Td> 12 </Td> <Td> 18 </Td> </Tr> </Table> <Tr> <Th_colspan="9"> FIFA World Cup record </Th> </Tr>

When did morocco last qualify for world cup