Up until 1 April 2008 all debtor and creditor petitions for bankruptcy were considered by the courts. Since that date, debtor applications for bankruptcy have been considered by the Accountant in Bankruptcy (AiB) while the Court of Session no longer considers creditor petitions, all of these being dealt with in the sheriff court.