Who wrote the second episode of season four of Game of Thrones?

George R.R. Martin wrote "The Lion and the Rose." The TV series is also based off of his series, A Song of Ice and Fire.