Royal Bank of Scotland on Tuesday agreed to a $500 million settlement linked to charges that it sold faulty residential mortgage-backed securities to investors in the lead up to the financial crisis in 2007-08, according to New York State Attorney General Eric Schneiderman. The settlement includes some $100 million cash to to New York State and $400 million in consumer relief for homeowners throughout the Empire state, according to a statement. Royal Bank of Scotland’s shares trading in Europe finished the day off 0.6% and have been down 6.4% so far in 2018. Comparatively, the S&P 500 index maintains a year-to-date gain of 2% after finishing Tuesday’s session up by 0.3%. Compared against its peers, RBS trails, with a exchange-traded fund of large banks, the SPDR S&P Bank ETF , up 7.9% so far this year. RBS reported its first annual profit in a decade, warning investors that legacy issues related to its sale and packaging of residential mortgage backed securities lingered.