World and European champions Spain were unable to build on their early goals as they secured a narrow 2-1 win over Haiti on Saturday night.
Santi Cazorla and Cesc Fabregas took them to a 2-0 lead by the 19th minute but Haiti were resilient and Donald Guerrier made things tense with 15 minutes to go.
The Spaniards dominated the early stages of the game and just eight minutes in Arsenal's Cazorla would open the scoring when he blasted a shot into the bottom corner.
A second goal was imminent as Spain continued to own possession and in the 19th minute Fabregas was played in by a brilliant chipped ball from Juan Mata and he nodded past the on-rushing goalkeeper.
Haiti tried to break out on a few occasions but Kervens Belfort hit a shot just wide in what was about Haiti's only meaningful attempt of the half.
Spain continued to see more of the ball after the break but a determined run from Sony saw him poke a shot off target in the 52nd minute.
Roberto Soldado then hit the post with 20 minutes to go after good work from Andres Iniesta and five minutes later Haiti would bag a historic goal.
Guerrier burst through the Spanish defence before rounding Pepe Reina and guiding the ball into the empty net.
Soldado would rattle the woodwork again moments later while Guerrier saw another attempt blocked.
Haiti tried everything possible to secure a famous draw but Spain did enough to see out the win.