After the death of Pepi, Weni was appointed the governor of Upper Egypt. He made many infrastructure improvements, some of which were beneficial to the military. His most noted project was a canal that ran parallel to the Nile at the First Cataract.[1]