Those opposed to the new government began to make plans to free Edward, and Roger Mortimer decided to move him to the more secure location of Berkeley Castle in Gloucestershire, where Edward arrived around 5 April 1327. Once at the castle, he was kept in the custody of Mortimer's son-in-law, Thomas de Berkeley, 3rd Baron Berkeley, and John Maltravers, who were given £5 a day for Edward's maintenance. It is unclear how well cared for Edward was; the records show luxury goods being bought on his behalf, but some chroniclers suggest that he was often mistreated. A poem, the "Lament of Edward II", was once thought to have been written by Edward during his imprisonment, although modern scholarship has cast doubt on this.