From the opening crawl of A New Hope:
It is a period of civil war. Rebel spaceships, striking from a hidden base, have won their first victory against the evil Galactic Empire.
What was the Empire's response? Completely massacre a civilian planet because it was an effective demonstration of the Death Star and they grew tired of asking for the actual rebel base.