Answer
Antigonus II Gonatas was the ruler of Macedonia from 277 to 239 BC. In 274 BC, he was defeated by Pyrrhus of Epirus, who seized the Macedonian throne. Pyrrhus's reign lasted only two years, as he was killed in battle in 272 BC. Antigonus II Gonatas then regained control of Macedonia and ruled until his death in 239 BC.