Pyrrhus then went to war with Macedonia in 275 BC, deposing Antigonus II Gonatas and briefly ruling over Macedonia and Thessaly until 272. Afterwards he invaded southern Greece, and was killed in battle against Argos in 272 BC. After the death of Pyrrhus, Epirus remained a minor power. In 233 BC the Aeacid royal family was deposed and a federal state was set up called the Epirote League. The league was conquered by Rome in the Third Macedonian War (171–168 BC).