Why did edward 1 invade wales?

He wanted to be king after Llewllyn was destroyed in battle