<Tr> <Th> 25 </Th> <Td> </Td> <Td> Ash Carter </Td> <Td> Massachusetts </Td> <Td> February 17, 2015 </Td> <Td> January 19, 2017 </Td> <Td> 702 </Td> </Tr> <Tr> <Th> 26 </Th> <Td> </Td> <Td> James Mattis </Td> <Td> Washington </Td> <Td> January 20, 2017 </Td> <Td> Present </Td> <Td> 249 </Td> <Td> </Td> <Td> Donald Trump </Td> </Tr> <P> The Secretary of Defense is sixth in the presidential line of succession, following the Secretary of the Treasury and preceding the Attorney General . </P> <P> In Executive Order 13533 of March 1, 2010, President Barack Obama modified the line of succession regarding who would act as Secretary of Defense in the event of a vacancy or incapacitation, thus reversing the changes made by President George W. Bush in Executive Order 13394 as to the relative positions of the Secretaries of the Military Departments . All of the officials in the line of succession are civilians appointed by the President with the advice and consent of the Senate: </P>

When does the secretary of defense became president
find me the text answering this question