Hideyoshi was in 1586 appointed as grand minister of state and chief adviser to the Emperor, and was given the surname Toyotomi by the Emperor; in 1590 he unified Japan and endeavored to stabilize his government by conducting land surveys and sword hunts throughout the country.
天正14年（1586年）には関白・太政大臣に任ぜられ豊臣姓を賜り、天正18年（1590年）に日本を統一し全国で検地と刀狩りを実施させ政権の安定に力を注いだ。