A man was seriously injured Tuesday after crashing his car into an MTA bus in Brooklyn.

It happened just after 2 p.m. Tuesday near Graham Avenue and Ten Eyck Street in Williamsburg.

Sources say the driver had a medical episode before slamming into the bus. 

He was rushed to the hospital, where he is in critical condition. 

No one else was hurt.