Rep. Ayanna Pressley, D-Mass., was taken by ambulance to a hospital Tuesday night after experiencing debilitating head pain during House votes, according to a spokesperson.

The spokesperson said Pressley walked to the Capitol infirmary, but it was “unexpectedly closed.” She waited for EMTs with help from Congressional staff before being transported to the hospital for further care “out of an abundance of caution,” the spokesperson said.

An ambulance was seen outside the Capitol around the time of the incident. It was not immediately clear whether Pressley, 52, remained hospitalized or had been discharged.

Pressley took part in the first three of four House votes that night. She was marked “not voting” on the final vote, when the House overwhelmingly backed a second version of the Epstein Files Transparency Act.

Pressley represents parts of Boston and Cambridge. She won re-election last month after running unopposed and was first elected in 2018. She was one of the original members of “the Squad,” alongside Reps. Alexandria Ocasio-Cortez, D-N.Y.; Ilhan Omar, D-Minn.; and Rashida Tlaib, D-Mich.