A Melrose man appeared in private at Selkirk Sheriff Court yesterday afternoon (Wednesday) accused of assaulting a man to his severe injury and danger of life.
It follows an incident in Hawthorn Road, Galashiels, on Monday evening when a 39-year-old male was in collision with a car.
Police Scotland said the man was taken to Borders General Hospital and detained for treatment to a serious leg injury.
Derek McDermid, 50, has also been charged with breach of the peace.
His co-accused, Rebecca Fox, 20, from Hawick, faces allegations of carrying a knife and breach of the peace.
Both made no plea or declaration and the case was continued for further examination.
They were released on bail and their next court date has yet to be arranged.