His worship increased much in the V Dynasty , when he became a state deity . Pharaohs had pyramids , obelisks and solar temples built in his honor . His worship increased massively in the fifth dynasty , when he became a state deity and pharaohs had specially aligned pyramids , obelisks , and solar temples built in his honor .