The Memorial Bridge connecting Kittery and Portsmouth, N.H., is going to be repaired after all.

The New Hampshire Department of Transportation announced today that the repairs will cost about $30,000 and take about three weeks.

The bridge was closed last week after inspectors found that some of the supports were deteriorating. Transportation officials in Maine and New Hampshire were reluctant to spend money to repair the bridge, which is due to be replaced.

“The decision to proceed with repairs to the Memorial Bridge was made after considerable review, and in consultation with the Maine DOT and our inspection engineers, HDR,” said NHDOT Commissioner George Campbell.  “This will enable the bridge to be safely reopened to motor vehicle traffic at a 3-ton weight limit within three weeks.” 

The 89-year-old span, which raises the bridge platform to permit boat passage, was closed suddenly on Thursday, cutting off several Kittery businesses that depend on traffic from Portsmouth.