The temple, which is one of the top Luxor tourist attractions, was built specifically as a mortuary temple by Ramesses III who was the second pharaoh of the 20th dynasty, and also the last great pharaoh of the New Kingdom.