Question: what episode does the 4th ninja war end?
Answer: The fourth great shinobi war Ended in: In anime, Naruto shippuden episode 474.