The period ended in NUMBER@1 when the 15th and last shogun PERSON@1 was driven out of the capital in LOCATION@1 by PERSON@2 .

In that year the 15th and the last shogun named PERSON@1 was forced to go out of the capital .
