Both cities were originally founded because of a holy man. Udai Singh was told by a Hindu sadhu to build a new capital in the fertile valley ringed around by hills. Akbar built some buildings on the Sikri hill to honour a Muslim Sufi who lived there.
But both places developed into cities after 1568 when these two monarchs fought a year long war, ending with the capture of the fort of Chittor by Akbar. Udai Singh vowed to continue the war from his new capital of Udaipur, and Akbar celebrated victory by naming his new city Fathepur SIkri........It was built between 1569 and 1585 and was intended to be the joint capital with Agra, but was soon deserted because the water system could not support any residents. It remained untouched for over 400 years now and is a ghost city.
It showed a lack of proper planning by the Mughals. With Udaipur, the Rajputs dammed a river and created huge lakes to supply the city with fresh water. Udaipur flourished as the capital under the successive rulers, like Maharana Pratap who fought Akbar, Maharana Amar Singh who fought Jehangir, and Maharana Raj Singh who fought Aurangzeb.
Today
Udaipur heritage city is located along the golden quadrilateral highway and the east-west highway and is an important tourist destination.