Irish energy company ESB today said it has bought a 12.5% stake in the 353-MW Galloper offshore wind farm in the UK from Macquarie Capital.