She had built a funeral temple on the walls of which she left behind a record of her reign.
Can this sentence be changed as below?
- She had built a funeral temple of which she left behind a record of her reign on the wall.
- She had built a funeral temple of which on the wall she left behind a record of her reign.
Thank you so much in advance.