Their second album , A Beautiful Lie , was released on the 30 August 2005 by Immortal Records and Virgin Records , produced by Josh Abraham . The first single , `` Attack '' , brought 30 Seconds to Mars to world success . To date , 30 Seconds to Mars have released three studio albums â `` 30 Seconds to Mars ( 2002 ) ; A Beautiful Lie ( 2005 ) ; This Is War ( 2009 ) and two extended plays â `` AOL Sessions Undercover ( 2007 ) and To the Edge of the Earth ( 2008 ) .