In determining their capital investment programme, local authorities are required by legislation to comply with The Prudential Code for Capital Finance in Local Authorities, to ensure that all capital investment decisions are prudent, affordable, and sustainable.