Ramin Bahrani writing and directing.

THR is reporting that Andrew Garfield (‘The Amazing Spider-Man,’ ‘The Social Network’) has closed a deal to topline the Ramin Bahrani-directed indie drama ’99 Homes.’

Featuring a script by Bahrani, ’99 Homes’ would see Garfield play “a man who loses his home to foreclosure. Desperate, he eventually finds work with the real estate broker who took his house and soon is not only evicting homeowners but helping the man embezzle money from the government. While his financial worries disappear, his conscience begins to break him down.”

Kevin Turen and Treehouse Pictures partner Justin Nappi are attached to produce.