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 .
The city prospered after Hideyoshi built his main castle in the center of Osaka in 1583 .