He made plans to protect his people from attack and fortified the city so that it could withstand a siege.