The Spanish Civil Guard said Monday the discovery was made on Saturday at the border in Beni-Enzar, Morocco as the vehicle was attempting to get into Melilla, a Spanish enclave on the north African coast.
Photos released by police show a stowaway compartment hidden in the space between the engine and vehicle's dashboard, where the man was located.
The incident was one of three discoveries within three hours of migrants hiding in vehicles at the border, Sky News reported.
A refugee traveling from Morocco was discovered in the hidden box of a car attempting to reach Europe, according to officials. (Guardia Civil)
Authorities also found another migrant behind a vehicle's rear seats.
The man could be seen hiding behind the car’s dashboard when he was discovered. (Guardia Civil)
A fourth person was discovered hiding in the base of a dump truck, where he was in danger of being crushed by the vehicle's axles, according to Sky News.
The migrants discovered on Saturday included a 15-year-old girl, a 21-year-old man, and a 20-year-old man. Two of them had to be treated by officials for asphyxia, disorientation and joint pain.
Heritage Foundation fellow and terror expert Robin Simcox breaks down the border dispute in Europe.
The three Moroccan drivers of the vehicles were all arrested, according to Sky News.
The incidents on Saturday were the latest in attempts by African migrants to cross into Melilla to get into Europe.
Two men were discovered sewn into mattresses that were strapped to the top of a van in January and a 12-year-old boy was discovered behind a dashboard in 2017.