A 6-foot-9 man, who is believed to be around 30 years old, was arrested for posing as a student and athlete at a high school in Canada.

Jonathon Nicola spent the last six months attending Catholic Central High School as a 17-year-old eleventh grader and basketball star.

Canadian border officers arrested him and as of Wednesday he's being kept at the South West Detention Centre, according to the Windsor Star.

Jonathon Nicola, a 6-foot-9 man, who is believed to be around 30 years old, has been arrested for posing as a student and athlete at a high school in Canada

Nicola spent the last six months attending Catholic Central High School as a 17-year-old eleventh grader and basketball star

Officials said Nicola allegedly violated the Immigration Refugee Protection Act and is being detained under the authority of the act, but it's still unclear what he is actually accused of doing

Officials said Nicola allegedly violated the Immigration Refugee Protection Act and is being detained under the authority of the act.

However, it's still unclear what Nicola is actually accused of doing but he is in Canada on a student visa.

Windsor-Essex Catholic District School Board spokesman Stephen Fields told the Windsor Star that 'this is a matter that's still outstanding before the federal authorities, obviously we can't really comment on it'.

Fields added that the school board has a 'system of checks and balances in place' for international students who come to the district's schools.

'We make sure that they have all of the necessary government documentation that they require.'

Nicola, who was a star on the Catholic Central Comets senior boys' basketball team, was living with the team's head coach Pete Cusumano through a program called Canada Homestay, which finds homes for foreign students, according to the Windsor Star.

Cusumano told the Star he wasn't allowed to talk about the situation but in January he said Nicola had a shot at going to the NBA.

The group Windsor Hoops, which calls itself a 'local basketball resource promoting news, players and results from Windsor,' even posted a 'prospect video' that shows Nicola shooting hoops and running drills in the school gym.

Nicola told the Star January that he arrived in Windsor in November 2015 and that he left South Sudan, his disease-ridden, war-torn home, for a better life.

He said it took him six months to acquire a Canadian student visa because of the 'war going on, terrorism', which made it 'double hard'.

Nicola arrived in Windsor in November 2015 after leaving South Sudan, his disease-ridden, war-torn home, for a better life

Nicola, who was a star on the Catholic Central Comets senior boys' basketball team, was living with the team's head coach Pete Cusumano through a program called Canada Homestay, which finds homes for foreign students

The group Windsor Hoops, which calls itself a 'local basketball resource promoting news, players and results from Windsor,' even posted a 'prospect video' that shows Nicola shooting hoops and running drills in the school gym (pictured). His coach believed he had a shot at going to the NBA