<Table> <Tr> <Th_colspan="2"> "Castle on the Hill" </Th> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Th_colspan="2"> Single by Ed Sheeran </Th> </Tr> <Tr> <Th_colspan="2"> from the album ÷ </Th> </Tr> <Tr> <Th> Released </Th> <Td> 6 January 2017 (2017 - 01 - 06) </Td> </Tr> <Tr> <Th> Format </Th> <Td> Digital download </Td> </Tr> <Tr> <Th> Recorded </Th> <Td> 2016 </Td> </Tr> <Tr> <Th> Genre </Th> <Td> <Ul> <Li> Folk - pop </Li> <Li> pop </Li> <Li> rock </Li> </Ul> </Td> </Tr> <Tr> <Th> Length </Th> <Td> 4: 21 </Td> </Tr> <Tr> <Th> Label </Th> <Td> <Ul> <Li> Asylum </Li> <Li> Atlantic </Li> </Ul> </Td> </Tr> <Tr> <Th> Songwriter (s) </Th> <Td> <Ul> <Li> Ed Sheeran </Li> <Li> Benjamin Levin </Li> </Ul> </Td> </Tr> <Tr> <Th> Producer (s) </Th> <Td> <Ul> <Li> Ed Sheeran </Li> <Li> Benny Blanco </Li> </Ul> </Td> </Tr> <Tr> <Th_colspan="2"> Ed Sheeran singles chronology </Th> </Tr> <Tr> <Td_colspan="2"> <Table> <Tr> <Td> "Lay It All on Me" (2015) </Td> <Td> "Castle on the Hill" (2017) </Td> <Td> "Shape of You" (2017) </Td> </Tr> </Table> </Td> </Tr> <Tr> <Td_colspan="2"> <Table> <Tr> <Td> "Lay It All on Me" (2015) </Td> <Td> "Castle on the Hill" (2017) </Td> <Td> "Shape of You" (2017) </Td> </Tr> </Table> </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> <Tr> <Th_colspan="2"> Music video </Th> </Tr> <Tr> <Td_colspan="2"> "Castle on the Hill" on YouTube </Td> </Tr> <Tr> <Td_colspan="2"> </Td> </Tr> </Table> <Tr> <Th_colspan="2"> "Castle on the Hill" </Th> </Tr>

Who wrote the song castle on the hill