Justice Ginsburg had taken two medications before boarding an overnight flight, a court spokeswoman said.

WASHINGTON (CNN) - Supreme Court Justice Ruth Bader Ginsburg was hospitalized overnight for what appeared to be an adverse reaction to medication, but was released Thursday, a court spokeswoman said in a statement.

Ginsburg, 76, was taken to the Washington Hospital Center at about 11:15 p.m. Wednesday. She had taken a sleeping aid combined with cold medication immediately after boarding an overnight flight to London, England, the statement said.

"Prior to the plane taking off, the justice experienced extreme drowsiness, causing her to fall from her seat," the statement said. Paramedics were called and she was taken to the hospital as a precaution.

"Justice Ginsburg was evaluated at the hospital and she was found to be in stable health. Doctors attributed her symptoms to a reaction caused by the combination of a prescription sleeping aid and an over-the-counter cold medication," the statement said. "She was admitted overnight for observation and was released this morning."