In 2006 Saudi Arabia proposed constructing a security fence along the entire length of its desert border of 900 kilometers with Iraq in a multimillion-dollar project to secure the Kingdom's borders in order to improve internal security, control illegal immigration, and bolster its defences against external threats.