In 1170 , due to its military importance , Rabat acquired the title Ribatu l-Fath , meaning `` stronghold of victory , '' from which it gets its current name . In 1170 , due to its military importance , Rabat acquired the title Ribatu l-Fath , meaning `` stronghold of victory , '' from which it derives its current name .