When Hideyoshi built his main castle in the center of Osaka after unifying the country in 1583 , the city 's proserity seemed written in stone .
Unifying the country in 1583 was the sole reason for it 's future prosperity .