<P> The song reached number 2 on the UK Singles Chart and number 1 on the Irish chart when it became available for download and streaming upon the release of the album . </P> <P> Sheeran wrote and recorded the song together with the Irish band Beoga; the song incorporates parts of the tune "Minute 5" from Beoga's album How to Tune a Fish . They decided to write this song after they had finished another song together at his house, and had some free time . In an interview with Zane Lowe, Sheeran said: "I came up with this song with Foy, and Johnny and Amy . We were recording in Suffolk and we were just sitting in the garden, and we had Beoga, this Irish folk band, come and recording some other songs . And I was kinda like: Beoga would be here for two or three days, it would be a shame to waste them, shall we try and write another song?...They have a song called "Minute 5", which is that riff . So I just said: "Can you try that on it?" And they did, and it sounded brilliant, so we just kept it ." </P> <P> In an interview with The Irish Times, Sheeran said that the opening line of the song, "She played the fiddle in an Irish band", was inspired by Niamh Dunne of Beoga, however, the rest of the song was made up and not about anyone in particular (Dunne is from County Limerick and married an Irishman). According to Sheeran, he had to fight his record label to keep the song on his album: "They were really, really against' Galway Girl', because apparently folk music isn't cool ." The song went on to become the third most streamed song from ÷ on Spotify . </P> <P> The song was announced as the third single from the album on Saint Patrick's Day, 17 March, and it was added to BBC Radio 2's playlist on 18 March . </P>

Who did ed sheeran write galway girl for
find me the text answering this question