Final Fantasy XII was released before Final Fantasy XIII.
Final Fantasy XII . A sequel , Final Fantasy XII : Revenant Wings , was released for the Nintendo DS in 2007 . Final Fantasy XIII . Released in Japan in December 2009 and worldwide in March 2010 , it is the thirteenth title in the mainline Final Fantasy series .