 Marítimo in 2001–02 and playing 27 games in his debut season, but slightly less in the following.In his third year he scored nine league goals, notably one against Sporting CP in the 96th minute of a 2–1 home win as the Madeira team qualified to the UEFA Cup after finishing sixth; the next season, on 6 February 2005, he also netted against the same opponent in another victory at the "Estádio do Marítimo" (3–0).Alan joined FC Porto for 2005–06, sharing teams with established Portuguese international Ricardo Quaresma, but still managed 24 league appearances in the campaign – although 14 as a substitute – scoring in a 3–0 home defeat of Rio Ave F.C.