The owners of the world's largest Masonic Temple entered an agreement Thursday with Wayne County officials to get the historic neo-Gothic building out of foreclosure and off the auction block before the county's fall tax sale.

Louis Aguilar of the Detroit News writes building owners Masonic Temple Association made a $10,000 payment Thursday on its outstanding $152,000 tax bill.

Because part of the bill dates to 2010, the building automatically was put in foreclosure this year and slated for the September public auction of tax foreclosed properties. Masonic officials agreed to pay the entire amount by June 3.

"Should they make the payments as scheduled there will be no foreclosure," David Szymanski, chief deputy in the Wayne County Treasurer's Office, told Aguilar.

Technically, the 14-story building at 500 Temple remains in foreclosure, but the county agreed not to take any action.

Read more: Detroit News