The staunchly Catholic King Philip II of Spain sought to model himself after King Solomon. Statues of King David and Solomon stand on either side of the entrance to the basilica of El Escorial, Philip's palace, and Solomon is also depicted in a great fresco at the center of El Escorial's library. Philip identified the warrior-king David with his own father Charles V, and himself sought to emulate the thoughtful and logical character which he perceived in Solomon. Moreover, the structure of the Escorial was inspired by that of Solomon's Temple.